07-02-2011, 01:22 PM
well i can give u a shortcut way....i do not know what type of application u r automating...means that application made of which language...sometimes it happent QTP need addint to identify all objects of some particular languages..example as GWT or smart GWT....so r your application made by a stable language which is purely identyfy by QTP????make it sure first...
watever..the shortcut is as follows....
1. open a new test in QTP
2. make sure Object Repository is absolutely clear..
3. manually enter User Id and Password..
4. turn the record on in QTP..
5. now just record the Login Button press..and Stop Record.
6.Go to object repository and find what exact properties and values has been identify by QTP to recognize that button...
7. It may be 1/2/3 watever the properties are...Just use them in your DP..and try...It will work fine....
Try It.........
watever..the shortcut is as follows....
1. open a new test in QTP
2. make sure Object Repository is absolutely clear..
3. manually enter User Id and Password..
4. turn the record on in QTP..
5. now just record the Login Button press..and Stop Record.
6.Go to object repository and find what exact properties and values has been identify by QTP to recognize that button...
7. It may be 1/2/3 watever the properties are...Just use them in your DP..and try...It will work fine....
Try It.........