what will be the stmt if record any edit box in the Web
application ?

Answer Posted / uday kumar_anem

we cannot get this statement "Browser("Browser Name").Page
("Page Name").Webedit("Text
box Name").getvisibletext("Text Box Name")" while recording
the operations.

While recording we will get a statement similar to "Browser
("Yahoo! Mail - The best").Page("Yahoo! Mail - The
best").WebEdit("login").Set "abcxyz""

syntax is browser("aaa").page("bbb").webedit
("control1").set "abcdef"

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1478


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

1773


How many lines of code in each script of QTP?

4036


If object is not recognized by qtp but the object is standard object what is your approach?

593


Explain data driven framework?

580






can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1405


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?

1580


Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance

1503


To which environments does quicktest professional (qtp) supports?

592


can test automation improve test effectiveness?

1487


How will you handle java tree in qtp?

629


Hi,All How to create a link in excel sheet using qtp

3003


I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.

1628


Will down time for server and content maintenance/upgrades be allowed? how much?

617


What is quicktest professional window?

565