You can also do a wait() statement in a for loop and check if the button exists. u can combine a total of 5 mins in the for loop.
or else you can use a "Do While " loop. On Fri, Sep 13, 2013 at 2:29 PM, nikhil gangwar <[email protected]>wrote: > Dear Sunil, > > If you are facing this issue then you can use alternative methods Like * > InvokeSoftkey* for button. > > *Assuming your identification is proper.* > > For Oraclebutton > > Option 1 - Try to highlight that button first then try to perform *Click * > method. > OR > Option 2 - Try to use *InvokeSoftkey* method > > Which QTP version you are using > > Thanks > Nikhil Gangwar > > > > On Fri, Sep 13, 2013 at 11:27 AM, sunil chirravuri > <[email protected]>wrote: > >> HI , >> >> I am getting an “unspecified error” for the below code. >> >> OracleFormWindow(“@#$@#$”).OracleButton(“Search”).Click >> >> The application executes this action, but hanging at line 10 and because >> of the application is too slow (may need more than 5 minutes to respond), >> QTP throw out an “Unspecified Error” after about 2-3 minutes. >> >> Any Wait statement doesn’t work, because QTP have no chance to go to the >> next line. >> It will stay at Line 10 until error come out. When the application is not >> slow, my script can pass successfully. >> >> Please give any suggestion for my issue. >> >> -- >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "QTP - HP Quick Test Professional - Automated Software Testing" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Regards Arunabh Ray -- -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
