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.
Answers were Sorted based on User's Feedback
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 |
Answer / arjuncr
hai subash
by using regular expression we can handle this
syntax:
browser("title:=.*page.*").page("title:=.*page.*").webutton
("name:=Click").Click
the above is descriptive programe.by this we can handle
dynamic changes.
Is This Answer Correct ? | 0 Yes | 0 No |
Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?
is it possible to add sheets to excel at runtime
This is Ajay i have few douts if anybody know pls give me reply. 1. i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording
what is selective recording ? and normal recording?
What is the meaning Work bench?
1.IF SOME OBJECT IN APPLICATION IS NOT IDENTIFIED BY QTP? HOW WILL YOU OVERCOME THIS? 2. WHEN AND WHYDO U GO FOR DESCRIPTIVE PROGRAMMING? 3. WHAT IS THE DIFFERENCE BETWEEN VB AND VBA? 4.WHAT ARE THE REGULAR EXPRESSIONS YOU USED? 5.IF ANY REQUIREMENT IS ADDED IN YOUR PROJECT, HOW WILL YOU PROCEED TO DERIVE THE TEST CASES AND HOW WILL YOU PERFORM AUTOMATION FOR IT?
what about f2&f6 function keys
What does it mean when a check point is in red color? what do u do?
Hoe to generate all numbers in between to numbers suppose all numbers in between 1 to 100 using vbscript give me code
How to use the object spy in quicktest professional 8.0 version?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
what is difference between application testing and product testing?