Contributions
Scripts fail on batch execution
i ran the testcases individually, it worked fine. I moved the testcases into execution plan to club under a folder , so that all the testcases can be executed on a single run. In the execution folder , the first testcase is getting passed and the consecutive cases are being failed.214Views0likes1CommentJavaScript runtime error. Unspecified error
Am Entering the authorization number in a page and on click of search button, it lands in another page.(Result page) In result page am trying to get the text of the element 'auth number'. and i gotJavaScript runtime error. Unspecified error .. this error is inconsistent, it does not occur all times var Wait = require("Wait"); var browser = Sys.Browser(); var page = browser.Page("*"); //Page objects fetchAuthNo = page.FindChildByXPath("//input[@id='authorizationNumber']"); fetchSubmissionStatus = page.FindChildByXPath("//input[@id='submissionStatus']"); function VerifySearchResult(){ Delay(500); Log.Message(fetchAuthNo.Text); aqObject.CompareProperty(fetchAuthNo.Text,0,"0010PA22092200001",true,2); Log.Message(fetchSubmissionStatus.Text); aqObject.CompareProperty(fetchSubmissionStatus.Text,0,"COMPLETED",true,2); }378Views0likes1Comment