hello,
i am using QTP v9 to test a web application. i am somewhat experienced
using it for a Java desktop application.
in the java app world, when i was creating my QTP Object definitions
it would base the object name on the title of the app window. since we
used the build number in our title (ex: "SomeApp Build 1120") this was
problematic, but luckily we could modify the Name descriptor to
include a regular expression, thus allowing QTP to identify the window
no matter what the build/title value was.
now i am trying to do the same in a web app -- when i create my QTP
Object definitions its using the the HTML <title> tag's value to name
the Browser and Page. like so:
Browser("JOHN M BYERS 22287345").Page("JOHN M BYERS 22287345")
...as our customer name changes everytime a user operates the web app,
this is no good. sometimes, like when using checkpoints, it breaks
because it cant find the object.
how can i implemented a similar fix such that the title of the page/
browser is irrelevant? ideally id like to set a static label for both
the Browser and Page.
thanks!
sm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---