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
Hi Friends,
I have an application that is having some options to 
choose. While doing business transaction I need to select 
one option among from available options. But here the thing 
is, we won't get one option which we've chosen already and 
the available options will get automatically from the 
system with time basis, moreover each and every option 
having with various label names respective to that option.

So obviously if I run my recorded script will automatically 
gets fail, even though it got pass at first time.

Could anyone please give me appropriate solution for this.
I would be greatly obliged with you if you give the 
solution as soon as possible.
 Question Submitted By :: Ursfriend
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hi Friends, I have an application that is having some options to choose. While doing business transaction I need to select one option among from available options. But here the thing is, we won't get one option which we've chosen already and the available options will get automatically from the system with time basis, moreover each and every option having with various label names respective to that option. So obviously if I run my recorded script will automatically gets fail, even though it got pass at first time. Could anyone please give me appropriate solution for this. I would be greatly obliged with you if you give the solution as soon as possible.
Answer
# 1
Hi,
  First of all You can spy for particular objects and write 
the Descriptive programming.Suppose If The type of Object 
is WebRadio Button.
Set pBrowser=Browser
("micclass:=Browser","CreationTime:=1").Page
("micclass:=Page")
Set sObj=Description.Create()
sObj("micclass").Value="WebRadio"
sObj("html tag").Value="INPUT"
Set sLink=iBrowser.ChildObjects(sObj)
sCount=sLink.Count()
For i=0 to sCount-1
sName=sLink(i).GetRoProperty("name")
If sName=Expected Value Then
   sLink(i).Select "1"
Exit For
 End If
Next
Use this Code.
 
Is This Answer Correct ?    2 Yes 0 No
Sunil Kumarvv
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
can somebody send the script to write a multiplication table in notepad through qtp AppLabs2
How to get all the objects count and objects names in webpage using QTP ?  3
HOW DO U CALL A ACTION IN QTP? BirlaSoft2
How we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec.. IBM2
what do u mean by test harnesses in qtp? Verizon1
Is there any option in QTP to add Java add-in after instaling the QTP? IBM2
I need diffrences between Object Identification, Smart Identification, Regular expresion,Low-Level Recording (enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation.) I am working on Web Application. In that object caption will change dynamically. For example, consider “Save” button. On clicking save button the caption changing as “ EDIT ”. From above concept which concept I have to use here? Ordain-Solutions2
If there are 10 notepads opened on desktop. how can we close a particular 2nd notepad using script  2
what is Compile Module in QTP? what exactly it contains Functions or Actions?  1
one page contain next button.when we enter that its not going to next page.what type of error that one. TCS1
hi i want write code for "test engineer" in this i want write reverse how ca plz let me know through script  4
how can i change the action path that called in other action. when i copy one action to other pc,the action"test2" calls another action(C:\test1\action0),and i update this"test1",the folder update to "action1",but when i open "test2", it just point the call path to "C:\test1 \action0", but does not update to "action1",and the change i make can be shown in test2. so, can i update the call path manully? thanks HP2
How u will open the build automatically in QTP except using Systemutil.run command  5
Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value  1
How we will execute(run) the scripts in qtp 8.2?  1
i need the licence key for QTP V9.5 can anyone help me on getting this?  90
How to Import data from a ".xls" file to Data table during Runtime. BirlaSoft6
What are the advantages of Automation objects than Test Objects? Adobe1
How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP  1
How many check points are there in QTP and what are they?  5
 
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