3

Below code is written in UFT 12.5 version and ran on open Web application(Google).

Object is not identified or no action performed in Test result

Browser("name:=Google").Page("title:=Google").WebEdit("xpath:=//INPUT[@name='q']").Set “test”

Any resolution?

Dave
  • 4,328
  • 2
  • 24
  • 33
Joy Flora
  • 31
  • 1

2 Answers2

3

You have made a typo in the code which is “test”. Just change your code from “test” to "test" and then it will work fine. So the actual statement should be

Browser("name:=Google").Page("title:=Google").WebEdit("xpath:=//INPUT[@name='q']").Set "test"
Nitish Aggarwal
  • 557
  • 4
  • 15
0

I ran above code after modifying double quotes after Set and it worked fine:

Browser("name:=Google").Page("title:=Google").WebEdit("xpath:=//INPUT[@name='q']").Set "test"

Still, Please check whether google page is already open or not, also check whether proper addin selected or not, make sure google page is opened after opening UFT.

recnac
  • 3,744
  • 6
  • 24
  • 46
Arpit Jain
  • 51
  • 3