Posts: 7
Threads: 1
Joined: Feb 2008
Reputation:
0
02-21-2008, 04:17 AM
(This post was last modified: 02-21-2008, 04:19 AM by swathi4you.)
Hi
I am a newbie and just joined the forum. please help me on this.
I created a QTP script where the cursor is on 1 radio button by default and i selected another radio button and then continued with the script and ran the script. the error that i get is :
---- Cannot identify the specified item of the WebRadioGroup object. Confirm that the specified item is included in the object's item collection ----
Please advice
Swathi
Posts: 14
Threads: 5
Joined: Jan 2008
Reputation:
0
02-21-2008, 06:17 AM
Hi Swathi
Is your site radio button name is WebRadioGroup?
Also if you leave the radio button selection as per default when recording, does it run fine after?
Cheers
Kathy
Posts: 7
Threads: 1
Joined: Feb 2008
Reputation:
0
02-21-2008, 10:19 PM
My radio button name in the website is " choose monthly plan ".
Yes, if I leave the default button as it is and run the script, it runs fine.
Posts: 7
Threads: 1
Joined: Feb 2008
Reputation:
0
02-23-2008, 02:40 AM
Hi ...
When i get the message as below :
---- Confirm that the specified item is included in the object's item collection ---- does this mean that i need to add something in the repository or anywhere else before starting the test. Because i tried different codes and scripts and get the same error. So is there anything i need to change / add before starting my test.
Please advice ...
FYI : My company just started with the tools so i am the 1st one using it and this is the first test ever created on this tool here.
swathi
Posts: 106
Threads: 28
Joined: Jan 2008
Reputation:
0
02-23-2008, 03:07 AM
Check that object is in repository.that's why you get the this kind of error.
Posts: 7
Threads: 1
Joined: Feb 2008
Reputation:
0
02-26-2008, 12:29 AM
I checked the OR ... the object is there. I am trying to attach a screen shot of the OR which has the object properties for your understanding but unable to do so as it says the file size is high.
So i will list out the properties that are there in the OR :
Name :Webradiogroup
Class : Webradiogroup
html tag : input
Type, Value : Index , 1
Enable smart identification :true
Do I need to make any changes to it
Thanks