sam_kvale
13 years agoOccasional Contributor
Calling Different Functions
I can call the original javascript funciton attached to the script of the page I am testing like this:
Aliases.browser.pageFileCDocuments20and20setting.contentDocument.Script.getArea(KeywordTests.Test9.Variables.Variable("Side_A"),KeywordTests.Test9.Variables.Variable("Side_B"),KeywordTests.Test9.Variables.Variable("Side_C"))
How would I go about calling a different stub function that I created from another location? Or could I do this in a differnt way?
Aliases.browser.pageFileCDocuments20and20setting.contentDocument.Script.getArea(KeywordTests.Test9.Variables.Variable("Side_A"),KeywordTests.Test9.Variables.Variable("Side_B"),KeywordTests.Test9.Variables.Variable("Side_C"))
How would I go about calling a different stub function that I created from another location? Or could I do this in a differnt way?