JavaScript 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 got JavaScript 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);
}