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
what r the main attributes of test automation?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
Tell me about qtp?
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
Why is action split used by qtp?
What are the Application Functions available in QTP?
If I give some thousand tests to execute in two days what do you do?
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
How to recognise the webelement and verifying that webelement is enabled?
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak
What are the advantages of parameterization ?
How to use transactions in qtp?
Where we can use the synchronization?
What are the various automation frameworks available in qtp?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?