When testing a web application, the url for each page
changes, so using QTP how do u handle this scenario. If
anyone knows please answer in detail about the whole
procedure. Thanks a lot.
Answer Posted / nanda
may be u want to say the page title will chage, due to that
script fails?
if it is ur situation:
use the regular expression for page title property in
Object repository. it will handle ur scenario.
regular expression will be : .* , this will be matched to
any value, so that QTP will recogninze the page even the
titles are changing dynamically.
if u didnt get this please mail at: nanda.dreddy@gmail.com
by reffrening this question.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
How to add synchronisation points in qtp?
How do you check ticket cost and ticket number in flight application?
How can you pass value one action to another action?
How many types of recording modes in qtp? Which will be used when?
For which type of projects the iterative model is not suitable?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
How u will do versioning in QTP?
What is the difference between run time object and test object in QTP?
What are metrics and matrix?
How you can decide which type of object repository you have to use?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?