Hello
Can someone tel me what is wrong here.
I am able to record a script in QTP 10.0 and when i go OR and change the
similar names like WebEdit1, WebEdit2 etc.. to more sensible like namefield or address field. It seems to have saved automatically in the OR and in the scrip however when i run the scrip. qtp says objects not recognised or found.
for namefield. If i change back to WebEdit1 it works.
anyone has a clue what i am missing here. I tried saving the script multipletimes.
Thank you in advance.
Aparna
Hi Aparna,
1. Make sure that you have changed logical name only not physical name
2. Observe whether updated logical names are changing in script i.e whichever u have renamed the test objects in OR
3. If you are able to view the updated logical names in script then it is fine.
4. Else use the below setting
Tools-->Options-->Run-->Automatically update test and component steps when you rename the test object (Check the check box)
5. Now u could able to view modified logical names in the script.
Hope it will solve ur issue.
Please let me know for further clarification.
Regards,
Venkat.Batchu
(08-26-2010 10:09 AM)venkatbatchu Wrote: [ -> ]Hi Aparna,
1. Make sure that you have changed logical name only not physical name
2. Observe whether updated logical names are changing in script i.e whichever u have renamed the test objects in OR
3. If you are able to view the updated logical names in script then it is fine.
4. Else use the below setting
Tools-->Options-->Run-->Automatically update test and component steps when you rename the test object (Check the check box)
5. Now u could able to view modified logical names in the script.
Hope it will solve ur issue.
Please let me know for further clarification.
Regards,
Venkat.Batchu
Hi Venkat,
i have a doubt, we cant change physical description?
Sekhar
Hello
1. I am able to see the change in the script. However its not right.
2. I do not see any setting under tools-->options--> run settings.
attaching an example .
script is
RunAction "Login [SJDMSLogin]", oneIteration
Browser("SJDMS").Page("SJDMS").Link("Applications").Click
wait(5)
Browser("SJDMS").Page("SJDMS").WebElement("WebElement").Click
Browser("SJDMS").Page("SJDMS").WebElement("Import").Click
Changed the Name to Import from WebElement.
I can see the change in the script however its not recognized.
Hello
Basically this Import is a Button in Java app on the web.
Object spy has only these properties for this..
Name Web Element ( changed to Import)
class Web Element
Repository Local
visible true
outer text - huge sentence ) everything from the page)
Innertext
html tag - BODY
class ext-ie
Can someone tel me how to write descriptive program for this so that the Import Button is invoked by clicking?
Thank you So much in advance.