liorde Honored Contributor.
Honored Contributor.
452 views

Web object identify & replay error...

Hello friends.
This web object gets recorded and identified "properly" , however it is not replayable in runtime.
When I try to highkuight it thru the object repository, it is not found.
Please view the attached image:
This is the object spy output for this object:
"Class Name:=WebButton",
"abs_x:=783",
"abs_y:=431",
"acc_name:=",
"class:=btn btn-default",
"disabled:=0",
"height:=24",
"html id:=popup_dialog1_Click here to open",
"html tag:=BUTTON",
"innerhtml:=Click here to open",
"innertext:=Click here to open",
"name:=Click here to open",
"outerhtml:=<button class=""btn btn-default"" id=""popup_dialog1_Click here to open"" style=""display: inline-block;"" type=""button"" data-click=""buttonClicked"" data-name=""Click here to open"">Click here to open</button>",
"outertext:=Click here to open",
"role:=",
"title:=",
"type:=button",
"value:=Click here to open",
"visible:=True",
"width:=135",
"x:=783",
"xpath:=//DIV\[11\]/DIV\[3\]/DIV\[1\]/BUTTON\[2\]",
"y:=353"

Need assiatance a.s.a.p...!!

0 Likes
6 Replies
Susse Respected Contributor.
Respected Contributor.

Re: Web object identify & replay error...

Hello,

I hope you are doing well.

In order to help you please provide me the following information:

  1. Which UFT version are you using?
  2. What add-ins are you loading?
  3. Was the replay working before?
  4. Is this problem happening in several machines or just one?
  5. Are you getting and error? Please send me a screenshot.
  6. Can you let me know in further detail which is the AUT (Application under test)? And do you know under which toolkit was it developed on? For example Telerik contrls, KendoUI, Salesforce with Aloha framwork, PEGA Framwork.
  7. Which OS are you using? and Build version? Ctrl+ R "winver"
  8. Are you using the display settings of the OS in 100%?
  9. Which browser are you using?
  10. Do you reproduce the same behavior with Chrome, Firefox and Internet Explrer? Please provide me the version of the all the browser that you are using.
  11. Please check the zoom of the Browser.
  12. Does the issue is just with the WebButton?

Thank you in advance.

0 Likes
RajkumarR Outstanding Contributor.
Outstanding Contributor.

Re: Web object identify & replay error...

Can you post the error message?
_____________________
Rajkumar Rajangam
0 Likes
Knowledge Partner
Knowledge Partner

Re: Web object identify & replay error...

Does this work?

Browser("micClass:=Browser").Page("micClass:=Page").WebButton("html id:=popup_dialog1_Click here to open").Click

Mark Smith.

0 Likes
Highlighted
liorde Honored Contributor.
Honored Contributor.

Re: Web object identify & replay error...

Hello Rajkumar.
This is the error message that appears, about 90 seconds !!! after i choose "highlight in application".
It's not the standard 5~10 seconds until it figures out the object is not identified.
Please view attached image:

 

0 Likes
liorde Honored Contributor.
Honored Contributor.

Re: Web object identify & replay error...

Hello Mark.

This inline code unfortunately does not work. What can be the reason..? I tried using INSIGHT object, and this is the only option that works.

Please any ideas are welcome. Since this object takes time to render and I must wait for it until it appears.

 

0 Likes
Knowledge Partner
Knowledge Partner

Re: Web object identify & replay error...

What's the error message my line of code generates?

Mark.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.