1. Sathishkumar S
  2. PowerBuilder
  3. Thursday, 8 August 2024 12:16 PM UTC

HI All,

 

I am using PowerBuilder 2022 R3, DB Server is MSSQL Server 2019, TESTING Tool is Ascential Test

From Ascential Test unable to pick the objects (buttons, fields columns, headers...) inside the Web browser control 

I have added to below code in the application open event and passed the ports like 6124 or 20480 but unable to capture the objects inside the web browser.

WebBrowserSet("remote-debugging-port", "6124")
WebBrowserSet("remote-allow-origins", "*")

Kindly advise how to capture the objects in web browser control from Ascential test tool for testing.

Thanks & Regard
Sathishkumar S

John Fauss Accepted Answer Pending Moderation
  1. Thursday, 8 August 2024 13:42 PM UTC
  2. PowerBuilder
  3. # 1

In addition to asking this question here, I suggest you also pursue this with the AscentialTest vendor (Zeenyx.com?), since the PB Web Browser control is merely a wrapper for the WebView2 browser engine.

Comment
  1. Sathishkumar S
  2. Thursday, 8 August 2024 13:54 PM UTC
Hi John,



Sure will take this to the Ascential Test support again.



Thank you.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 8 August 2024 13:39 PM UTC
  2. PowerBuilder
  3. # 2

Hi Sathishkumar;

  Please contact Ascential Test support for this issue as this is not an Appeon product.  Many thanks!

Regards .... Chris 

Comment
  1. Sathishkumar S
  2. Thursday, 8 August 2024 13:53 PM UTC
Hi Chris,



I have contacted Ascential Test Support. They mentioned that if the remote debugging port is open, Ascential Test will be able to access objects in the web browser controls.



WebBrowserSet("remote-debugging-port", "20480")

WebBrowserSet("remote-allow-origins", "*")



Their default port is 20480, but we can use a different port if needed. In that case, we should update the corresponding port setting in Ascential Test, But unable to identify the issue.

I will check with them again.



Thank you.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 8 August 2024 17:18 PM UTC
Hi Sathishkumar;

I have this working in my STD Framework. However I am using port 6124 instead. Also, these WebBrowserSet commands "must" be done early in your App's start-up sequence. HTH

Regards ... Chris
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.