Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
More time to find Object
#1
Solved: 11 Years, 3 Months, 2 Weeks ago Exclamation 
Hi..
In my web application the radio button takes more time to select,please any body give some solutions for this...
Reply
#2
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi
Are you using check for EX:
If (xyz.Exists) Then
'Select Radio button
End If
?
Reply
#3
Solved: 11 Years, 3 Months, 2 Weeks ago Wink 
Hi Shandru,

As Kavita told check the Exist statement.

Please check few more things:

1. Is it taking the same amount of time if doing the step manually?

2. Is any other conditional statement there (Ex: for checking the existence of a popup message) just before selecting the radio button.

Smile
Reply
#4
Solved: 11 Years, 3 Months, 2 Weeks ago
Thanks for reply saini,
1.In manual its not taking time
2.No, Just choosing one radio button out of two and press next button..

While running the script if i click manually means it immediately moves next step...

Thanks for reply kavita,

im not using any condition just choosing one radio button and moving to next step...
Reply
#5
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi Shandru,

Can you paste the code that you are using?

- Vinod
Reply
#6
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi vinod,

Thnks for reply, this is my code

Code:
Browser("HOME").Page("HOME_2").WebRadioGroup("payment").Select "2"
While running the above step takes more time to load...
Reply
#7
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi

Try this ,

Code:
Browser("HOME").Page("HOME_2").WebRadioGroup("payment").Select "#2"

if the above code doesnt work, get the value of the radio group and select, for example


Code:
Browser("HOME").Page("HOME_2").WebRadioGroup("payment").Select "AnItem"

Let me know if this doesnt work


- Vinod
Reply
#8
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi vinod,

I tried both solution but
both showing error as "cannot identify specified item..."
can u please give some other solutions?

-Shandru
Reply
#9
Solved: 11 Years, 3 Months, 2 Weeks ago
Hi

Try this ,

Code:
Browser("HOME").Page("HOME_2").WebRadioGroup("payment").Select "#0"
Browser("HOME").Page("HOME_2").WebRadioGroup("payment").Select "#1"
Reply
#10
Solved: 11 Years, 3 Months, 2 Weeks ago
Im sorry vinod,
i had tried both the code,but still it's taking more time to run...

--Shandru
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Object Identification not working on Run Time Ajatshatru 2 3,262 05-06-2015, 07:27 PM
Last Post: Ajatshatru
  Error while adding Object to Object repository at run time SaranKumarV 3 8,647 02-02-2015, 01:40 AM
Last Post: dubeyvin
  Two Object spy is available at a time in QTP 10.0 guin.anirban 0 2,195 05-07-2010, 12:11 AM
Last Post: guin.anirban
  Time Out in QTP at the time of Execution jakkasureshkumar 1 3,622 12-24-2008, 10:43 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 2 Guest(s)