Micro Focus QTP (UFT) Forums
More time to find Object - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: More time to find Object (/Thread-More-time-to-find-Object)

Pages: 1 2


More time to find Object - Shandru - 10-21-2010

Hi..
In my web application the radio button takes more time to select,please any body give some solutions for this...


RE: More time to find Object - KavitaPriyaCR - 10-22-2010

Hi
Are you using check for EX:
If (xyz.Exists) Then
'Select Radio button
End If
?


RE: More time to find Object - A.Saini - 10-22-2010

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


RE: More time to find Object - Shandru - 10-23-2010

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


RE: More time to find Object - KVK - 10-25-2010

Hi Shandru,

Can you paste the code that you are using?

- Vinod


RE: More time to find Object - Shandru - 10-25-2010

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


RE: More time to find Object - KVK - 10-25-2010

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


RE: More time to find Object - Shandru - 10-26-2010

Hi vinod,

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

-Shandru


RE: More time to find Object - KVK - 10-26-2010

Hi

Try this ,

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



RE: More time to find Object - Shandru - 10-27-2010

Im sorry vinod,
i had tried both the code,but still it's taking more time to run...

--Shandru