03-12-2012, 08:01 AM
Hi Guys,
I am having a problem trying to input the username and password into the demo webpage at newtours.demoaut.com. I want to do this without using an object repository but the following code doesn't work.
Why doesn't the browser recognize the properties?
Thanks
I am having a problem trying to input the username and password into the demo webpage at newtours.demoaut.com. I want to do this without using an object repository but the following code doesn't work.
Code:
Browser("Title:=.*").Page("Title:=.*").WebEdit("name:=userName").Set "xxxx"
Browser("Title:=.*").Page("Title:=.*").WebEdit("name:=password").Set "xxxx"
Browser("Title:=.*").Page("Title:=.*").Image("name:=login").Click
Why doesn't the browser recognize the properties?
Thanks