Micro Focus QTP (UFT) Forums
Dynamic Webelement identification - 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: Dynamic Webelement identification (/Thread-Dynamic-Webelement-identification)



Dynamic Webelement identification - rkrajeshsharan - 02-28-2013

Hi ,

I am trying automate workflow application having number of web element where i want to click on particular web element but QTP is taking more than 3 min to run single line of script or fails to click.

Can it is possible identify web element with Xpath method for dynamic objects or web element
Is there any other method other than click ,to work faster.

Code:
Browser().page().frame().Webelement(CL11).Click
Browser().page().frame().Webelement(CL12).Click

Thanks in advance
Rajesh


RE: Dynamic Webelement identification - sshukla12 - 03-01-2013

Hi,

Which version of QTP u r using now?
If u want to use Xpath , then u have to use QTP 11.0.

Regards,
Sankalp


RE: Dynamic Webelement identification - vinod123 - 03-01-2013

For dynamic web element just use descriptive programming statements


RE: Dynamic Webelement identification - rkrajeshsharan - 03-01-2013

Thanks for reply,

I am using QTP 11, currently script is implemented with descriptive programming but it takes time to click as the object some time needs page scroll which is taking time to run the script

so just want to know the method which can locate object uniquely & click on

Environment is K2 underground workflow application but object are getting identified as web object.

Thanks in advance for help
Rajesh