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...


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.



Hi Friends, I have an application that is having some options to choose. While doing business tra..

Answer / sunil kumarvv

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 ?    4 Yes 0 No

Post New Answer

More QTP Interview Questions

write the regular expression for date format of mm/dd/yy?

10 Answers   CTS, HCL,


assume i have few url link how will i dynamically call then using descriptive programming?

0 Answers   BirlaSoft,


How do you learn the object in QTP?

2 Answers  


After i ran the Test in Batch mode i didn't get any results. Can any one let me know how it can be done?

3 Answers  


What is difference between QC and TD?

8 Answers  


how can we group that these test cases only should be automated and in which order you execute that test cases

3 Answers   Maveric, Satyam,


what is the extension of action script template?

7 Answers   Capco,


How can I pass values from one action to another in QTP ?

8 Answers   Ordain Solutions,


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

0 Answers   Accenture,


What is the difference between qtp and selenium?

0 Answers  


why is execute file used.

1 Answers   Deloitte,


How to use Regular Expressions in QTP

1 Answers  


Categories