Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In application have 2 list box oppsite list box two edit
box is there.so now through using DP how can we select 3
opption in first list box and 2box semect 4 opption.in edit
box also we have to write 25 ,28.how can we do this



In application have 2 list box oppsite list box two edit box is there.so now through using DP how ..

Answer / saket bharti

Selecting three items from the first list box:
Browser("").Page("").WebList("").Select "first item"
Browser("").Page("").WebList("").ExtendSelect "second item"
Browser("").Page("").WebList("").ExtendSelect "third item"

Setting the value of first Text box to 25:
Browser("").Page("").WebEdit("").Set "25"

Selecting four items from the second list box:
Browser("").Page("").WebList("").Select "first item"
Browser("").Page("").WebList("").ExtendSelect "second item"
Browser("").Page("").WebList("").ExtendSelect "third item"
Browser("").Page("").WebList("").ExtendSelect "fourth item"

Setting the value of second Text box to 28:
Browser("").Page("").WebEdit("").Set "28"

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the current version of QTP?

19 Answers  


what are the areas that cannot be tested using an automated tool? list a few

7 Answers  


To count the no of links present in the yahoo home page i have written the script like this Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile ("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo! India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing While running the script it showing error that object "yahoo"isnot found in the object repository. Is there any setting before running the script? if yes what is the steps for it.Im using QTP9.0

2 Answers  


what is meant by Implicit and explicit requirements?

0 Answers  


Is there any site to download QTP....otherwise tell me the way how to get the QTP sofware??????????????????? Thnx in advance

5 Answers   Cegonsoft,


Explain the concept of how quicktest professional identifies object?

0 Answers  


How do u use Database checkpoints and what are the use?

4 Answers   Qualtree Solutions,


How does you pass optional arguments in qtp?

0 Answers  


What is the difference between Systemutil.run and Navigate.

6 Answers   Synechron,


What does VBS file contain..? what is VBS file.?

4 Answers  


How can get count of list box?

0 Answers  


How the smart identification is used in real time?Please explain with an example

0 Answers   Wipro,


Categories