Difference between two statements
What's the different between following two. Are those same?
Set Lists = Browser("Welcome:Mecury").Page("Welcome:Mecury").. .....
Set Lists = Browser("name:=Welcome:Mercury").Page("title:=Welc ome:Mercury").............
Is this an interview or class question?
One is using the object repository, one is using descriptive programming...
Thanks for your reply NoUse4aName
This just a question when I went through coding
There is no difference in the above two statements.
First statement is using OR and the second statement is using Descriptive Programming.
First statement maps to OR where "Welcome:Mecury" is logical name but actual property might be different in Actual OR.
Second statement maps to DP where "name:=Welcome:Mercury" is actual identification property of object.