1. Pls can anyone give me the descriptive programing
script to find the number of edit boxes in a login window
in flights reservation (windows application only not web).
2. Using descriptive programing, how do you handle
changing URLs. Pls anyone, very urgent
Answer Posted / sanu
Try this...
Set obj_edit = description.Create
obj_edit("nativeclass").value = "Edit"
Set EditDesc = dialog("Login").ChildObjects(obj_edit)
msgbox "Number of Edit Fields : "& EditDesc.count
For i = 0 to EditDesc.count - 1
EditDesc1 = (EditDesc(i).getROProperty("Attached Text"))
msgbox EditDesc1
Next
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
What is smart identification in QTP?
What are the common defects found in your project? (in qtp interview)
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
What is the virtual object?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
How to use parameterization in qtp?
In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!
In qtp, how you can remove the spaces from string?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
What are the different properties of an web object
Can any body please tell me the steps of keyword driven framework of QTP.
Explain advantages and disadvantages of ddf?
How to use actions in qtp ?
Can you list some technologies that support qtp?