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 / 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 |
Post New Answer View All Answers
Does QTP record on Objects created on XWindows Environment?
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
How to create Reusable and Multiple Actions?
What are the different properties of an web object
how to convert 100 into hundred repees only and viceversa
How to change the priorities of the recovery scenario properties?
Explain quicktest professional testing process?
Is it possible to switch between recording modes during a test creation?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
Shall we add Local Repository to shared object repository,if yes,how we add
what is the difference between data driver & data driven and driver script?
when a test case is written how u test using qtp
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
can any body give the banking domain concepts/links
How software tester can use constants and variables in scripts?