Q) Please any body can help me how we can create descriptive
programming if the application is not ready i.e we don't
have unique property of object ?
note:build not ready means we can't use object spy in build
to get unique property .
Answers were Sorted based on User's Feedback
Answer / qtpbibhu@gmail.com
When ever application not ready ,we have to go through the
design doc to know to flow application,type of object ,what
are the unique properties also collect screen shot .
1.Then we have to start writing of descriptive Programing
as per the flow of application
2.through design doc & screen shot we can get type of object
& unique property ,value
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / uday
This can be done if we have a well designing during project
development. The developer has to give a document(blue
print) of the application and what all objects displayed in
that screen and what all properties for each object.
If you have these properties in hand, using DP you can start
writing your scripts.
Without having these kind of docs, you cannot able to
develop automation without the application ready.
| Is This Answer Correct ? | 2 Yes | 1 No |
what is the difference between built-i function and In-built function?
Explain how qtp identifies object?
Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"
how to write code for to select all the checkboxs in the gmail i wrote code for my question but it didn't works any body suggest what wrong my code my code is Set chkboxDesc=Description.Create() chkboxDesc("type").value="chekbox" Set chboxcollection=Browser("name:=Gmail .*").Page("title:=Gmail .*").ChildObjects(chkboxDesc) For i=0 To chboxcollection.count-1 chboxcollection(i).set "ON" Next i was getting general run time error pls help me i am in learing stage
How to find RAM size by using QTP?
I have a login page like username, password and login. I have to pass the 50 user names and 50 passwords but how can i test this page with out using parameters?
what r the main benefits of automation?
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
what is smart identification?
What are the limitations in using Virtual objects?
In automation testing Can we retest virtual object in the application after getting new version from the developers, is there any property will change for that object or it won't.?
GET WHETHER THE GIVE NUMBER VALID OR NOT IN BETWEEN THE GIVEN RANGE?IN VB SCRIPT(QTP)