In Login two edit box which object class property value is
same, How to enter into 2nd edit box in qtp by vbscript.

Answer Posted / netesh

using index property.
browser("x").page("x").webedit("y","index=1").set "abc"
' index 1 means first object which is left to right and top to bottom

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you declare a variable in qtp?

546


i can done the project with QTP in that time i can say how many members in my team size?

1366


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3235


When and why to use descriptive programming?

603


Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version

1402






Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

1529


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

568


What are the main differences of qtp and win runner?

589


Tell me about your project? please help me how to tell about insurance project

1524


How do we handle run-time errors?

574


How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

1416


How many types of actions are there in quicktest professional (qtp)?

529


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

1367


How many types of parameters are available in quicktest professional (qtp)?

579


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

1534