Forum Discussion

kanhaiya_agrawa's avatar
kanhaiya_agrawa
Occasional Contributor
11 years ago

How to find & enter data in field for desktop application without use of Click operation ?

Is there any other way of object identification instead of dimension (x,y) ?



I have a desktop application which i have to automate but i want to recognise fields, Combo-box & popup through their name instead of dimension(x,y).



Is there any way out i can use ?



Lets an example ::  if I have 1 field as (Full Name) and I want to enter some text in that field so steps need to follows are :

 



  1. Click  on that field.


  2. Enter text.


 

If I click on that field it will take the Click operation with ( x, y ) coordinates . My question is that can I find out that field with the name (Full Name) ?

 

As if I use Click operation with coordinates it is failed in other machine because of dimension(size) of the desktop(monitor).





Please reply ASAP.



Regards,

Kanhaiya Agrawal