Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
changing the name in OR -- is not recognized
#1
Not Solved
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
Reply
#2
Not Solved
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
Reply
#3
Not Solved
Hi Venkat,
i have a doubt, we cant change physical description?
Sekhar
Reply
#4
Not Solved
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

Code:
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing Data in the application newbieny 0 981 07-17-2019, 07:19 PM
Last Post: newbieny
  Changing default browser cowboy49 5 9,735 09-08-2011, 04:02 PM
Last Post: souvikghosh_diatm
  Table is recognized as Web Element Sharshi 1 3,527 10-12-2010, 04:46 PM
Last Post: KavitaPriyaCR
  Popup page not recognized wheelercha 3 3,078 08-28-2010, 12:27 AM
Last Post: appsved
  Reusable Actions created in 9.2 not recognized in 9.5 varsi 1 2,480 04-06-2010, 03:26 PM
Last Post: funajju

Forum Jump:


Users browsing this thread: 1 Guest(s)