tanviagg
12 years agoNew Contributor
How to create a script extension for the web testing as it does not recognize Browser as an object
Hi,
I was trying to create a script extension for the web related project.
On converting the Keyword tests into the script mode, I get code Aliases["browser"].entire path of the object.
When I add this code to the js file and add it as the script extension and try to run it, then I get a message saying that "Browser" is not recognised by the script extension.
On reading I came across the list of objects which I can use in the script extension but "Browser" is not mentioned.
Please can you suggest how to go about it.
Please could you tell me how to talk about the objects on webpage,in the js file too.
Thanks for your help.
I was trying to create a script extension for the web related project.
On converting the Keyword tests into the script mode, I get code Aliases["browser"].entire path of the object.
When I add this code to the js file and add it as the script extension and try to run it, then I get a message saying that "Browser" is not recognised by the script extension.
On reading I came across the list of objects which I can use in the script extension but "Browser" is not mentioned.
Please can you suggest how to go about it.
Please could you tell me how to talk about the objects on webpage,in the js file too.
Thanks for your help.