Support > Forums > OpenBots Studio > Native Browser Legacy Click in v1.8.1

Native Browser Legacy Click in v1.8.1

Pratibha Fonseka

  • Reporter
  • Calender Icon August 22,2022 at 8:03 AM

Hi Team,

We've automated a process via V1.8.0, which login to an online portal to download reports. In this Use Case, all the front-end navigations are automated by using the Native Browser Legacy Click.

Once the v1.8.1 was released, we converted the script to the OB Studio new version and observed the below issues.

  • The 'Click Event' command is not working properly.
  • In addition to the previous version there is a new feature, which is mandatory to configure the X,Y coordinates in the Click Event Commands. (This was not mandatory in V1.8.0.)

Hence, it appears that we've to proceed a code modification in each and every click event commands, to execute the process which was implemented in the previous version. This would be time consuming as we've to work on code level changes whenever there is an upgrade.

We feel that the same code would be able to work after a conversion of the script. Kindly let us know, whether our understanding is correct and if there is any other method to proceed the script conversion without doing any code changes.

Thank you

This forum has 314 topics, 681 replies, and was last updated 17 days ago by Support Agent

Rushabh Arbat

  • Participant
  • Calender Icon August 23,2022 at 2:39 PM

Hi Pratibhaf,

Thank you for sharing the query.

Can you please share the error which you got while using Native Browser Legacy Click Element Command after conversion from 1.8.0 to 1.8.1?

In version 1.8.1 the value of X and Y was added in Native Browser Legacy Click Element Command, this is a mandatory field but by default their value is 0. Usually this type of conversion is handled by the internal Studio converter, as we understand how impractical it is to change all values manually after an update. Unfortunately, this was missed by the converter but will be reported to the product team. For future reference, you can modify your obscript files to update multiple values at the same type.

Open the related scripts on a text editor like Notepad++ and perform a find & replace action to replace targeted text. In this case :

"v_XAdjustment": "", "v_YAdjustment": "",

to

"v_XAdjustment": "0", "v_YAdjustment": "0",

You are not authorized to reply, please click here to login and add your reply to this topic.