Rodger Nadal
Rodger Nadal

Reputation: 309

Syntax for send keys

I am trying to enter a value in the text box using excel vba scripts. Iam using the below code for the same

Dim sel3 as WebElement
sel3 = driver.findElementByName("*amtfld" & l).SendKeys "100"

But it is giving me SYNTAX ERROR during compilation

Upvotes: 0

Views: 745

Answers (1)

gazzz0x2z
gazzz0x2z

Reputation: 326

As Tom said, SendKeys is a procedure. Just do it, don't expect for an answer.

Here is an example : How to use sendkeys

Just put the cursor & focus where you want, and then make your

SendKeys "100"

after.

Upvotes: 1

Related Questions