Micro Focus QTP (UFT) Forums
Can I use the index ordinal identifier for different browsers and page? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Can I use the index ordinal identifier for different browsers and page? (/Thread-Can-I-use-the-index-ordinal-identifier-for-different-browsers-and-page)



Can I use the index ordinal identifier for different browsers and page? - Uma - 08-24-2011

Can I use the index ordinal identifier for different browsers and page?
or
Do I need to use only the creation time identifier for different pages.Because I am using the same page for 2 times.It always gives page not found error,so I used this and it is working.

Code:
Browser("opentitle:="&result,"application version:=internet explorer 7").Page("title:=RETS Server (.*)","index:=0").Click

Give me an idea.

Thank you,
Uma


RE: Can I use the index ordinal identifier for different browsers and page? - parminderdhiman84 - 08-24-2011

Hello,

Yes you can use the ordinal identifiers but keep in mind that Creation time is used for only Browser. For page, you can use either location or index.

Regards,
Parminder


RE: Can I use the index ordinal identifier for different browsers and page? - Uma - 08-25-2011

Parminder,
Thanks for clear the doubt.
Uma