ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
how to select particular value from the combobox in the 
current page which is entred in the previous page editbox 
after parameterization?
 Question Submitted By :: Ramkrish_2009
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?
Answer
# 1
getroproperty
 
Is This Answer Correct ?    0 Yes 0 No
Ramakrishna
 
  Re: how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?
Answer
# 2
First get the value from the edit box.Like
X=browser().Page().webedit().getropropertty
Next fix this X in the next page combobox.like 
browser().Page().weblist().set "X"

correct me if iam wrong..
Thanks 
saidev
 
Is This Answer Correct ?    0 Yes 1 No
Saidev
 
 
 
  Re: how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?
Answer
# 3
Unfortunately you are wrong Saidev.
"select particular value from the combobox "
It is a ListBox.
You should use - Select x command 
instead of Set- command.

Regards
Patil
Jai Ganesh Maharajki....
 
Is This Answer Correct ?    0 Yes 1 No
Sdfd
 
  Re: how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?
Answer
# 4
Using SPY first first know the class of that particular 
objet.
If Browser("").Page("").WebList("name:=")Exist Then


X=Browser("").Page("").WebList("name:=").GetRoProperty
("ItemsCount")


For i=0 To X-1

lName=Browser("").Page("").WebList("name:=").GetRoProperty
("Name")

If lName="Which u want to Select" Then
  Browser("").Page("").WebList("name:=").Select"lname"
End If 
Next
 
Is This Answer Correct ?    0 Yes 0 No
Rajendra Pradeep
 
  Re: how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?
Answer
# 5
' to Parameterize 
browser().Page().Webedit().set DataTable("A",dtglobalsheet)

'fetch value from edit box at runtime 
ItemToSelect = browser().Page().webedit().GetRoProperty
("value")

'Now get number of rows in combobox
x = browser().Page().webList().GetRoProperty("items count")

'loop through each item n try to match 
for i = 1 to x 
 actualvalue = browser().page().weblist().getitem(i)
 if(actualvalue = ItemToSelect)then
   browser().Page().weblist().select actualvalue
   exit for
 endif
next
 
Is This Answer Correct ?    2 Yes 0 No
Priya
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Diff B/w Webserver and Client Server  2
In QTP, Give the difference of Global sheet and Local sheet in datatable?  1
how to insert QTP to display errors and other description in the test results instead of halting execution by throwing error in the mid of executin due to an error (for object not found)? Ordain-Solutions1
what time u r using data driven test in ur app" Accenture4
can u Give Procedure to Handle Pop Window & write Code for that CTS1
How can i learn Descriptive programming in QTP. Please reply.  3
Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practical example of it. Thanks, Gaytri  7
Hi. plz expalin abouit SetToProperty, SetRoProperty, GetToProperty, GetRoProperty,GetToPrperties. with examples.  3
What is TD plugin? For what purpose they are used . Ineed to connect QC9.2 with QTP 9.2 . Need to run some scripts IN QTP having the QC connectivity. Pls explain in detailed step Thanks in advnece HCL1
What is the maximum size of Object Repository in QTP 8.2? Mphasis4
in QTP we test web based application at that time what script is run? is support vb script? plz tell me  3
How to Map network drive in QTP  2
Explain the check points in QTP?  2
How will you handle the situation when object is not captured during record?  2
hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone can help me out by correct script  2
What are FAST and NORMAL modes in qtp ? Why r these modes intended for ? IBM2
How to capture screen shots when an error occurs? EDS4
IS standard check point is very important than the other check points in QTP? If so why?  4
Hi all, I am New to QTP . I am Now in critical situtaion. I want to know How to create our own object respository for our application. please say the answer with example.  3
what is risks of testing a project? AppLabs4
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com