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
Answers were Sorted based on User's Feedback
Answer / hemakumar.m
1)Answer
Dim oEditDesc
Set oEditDesc=Description.Create()
oEditDesc("micclass").value="WinEdit"
a=Dialog("text:=Login").Childobject(oEditDesc).Count
Msgbox a
| Is This Answer Correct ? | 3 Yes | 0 No |
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 |
What is throw Object?
Is QTP supports Unix. If yes, then how the test automation is done?
What is the default add-ins in qtp?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.
How to create a standard checkpoint ?
Hi,i have 3 years of experience in manual and Automation qtp.present i am searching for job in automation qtp 2Yrs,How to Explain the interviwer Roles and Responsibilites.please help me.
what is Unicoad Compatibility ???? HOw does this makes a diffrence from Winrunner.???
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
1. In build1 there is a page with two check boxes and a submit button. You have prepared a script for that page and its working fine. In Build 2 the developers have added two checkboxes in the page. Will the script prepared for Build 1 work for Build 2 or not. If yes, why and if No, why. Remember the developers have not touched the object properties of the textboxes in the page.
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
how to read log file using QTP??