How to handle in QTP if the objects are dynamically changin in application????
Hi ...
How to handle in QTP if the objects are dynamically change in application without touch the hardcode...
say for e.g...I have [B]ADD PO [/B] object is in the left side of the page in application...Tomorrow the same ADD PO object is in the right side of the application...
Without touching the hardcode i want to do scripting by using the Datatable of QTP...
How can i do it...
Thanks
Re: How to handle in QTP if the objects are dynamically changin in application????
[QUOTE=coolkrish;29389]Hi ...
How to handle in QTP if the objects are dynamically change in application without touch the hardcode...
say for e.g...I have [B]ADD PO [/B] object is in the left side of the page in application...Tomorrow the same ADD PO object is in the right side of the application...
Without touching the hardcode i want to do scripting by using the Datatable of QTP...
How can i do it...
Thanks[/QUOTE]
As per my Knowledge if there is single 'ADD PO' object in an application the same code u have written works fine even though there is change in the Position of an object in the Applicaton. But if the name of the object is changing then u have to use Regular Expression or else nothing if the Position changes.
Re:Regarding for dynamic object changes in QTP...
Re: How to handle in QTP if the objects are dynamically changin in application????
Hi,
You can remove x,y coordinates of the object.
Regards
Rajaputra