Forum Discussion
Added some more screenshots.
I think the value is not getting stored in the global variable.
value is getting stored and that step is passing,.
now I need to understand how to tweak the script
function foo(){
var itemCount = Aliases.browser.pageUntitledDocument.table;
Sys.Browser("iexplore").Page("http://fred01/index.cfm?fuseaction=MEDFR.OneProject&key=28942stid=1&apid=2").Table(1);
var test1 = itemCount.FindChild("text",Project.Variables.MedferReportNumber,5);
test1.DblClick();
}
- AlexKaras7 years agoCommunity Hero
Hi,
> now I need to understand how to tweak the script
What's wrong with it?
What log shows up if you insert
Log.Message(Project.Variables.MedferReportNumber);
line of code right before the
var test1 = itemCount.FindChild("text",Project.Variables.MedferReportNumber,5);
one?
Also, if the 'text' property has a text value, what if you explicitly convert the value of MedferReportNumber variable to be of text type?
- saranoor7 years agoFrequent Contributor
Script is not working
- Marsha_R7 years ago
Champion Level 3
"script is not working" gives us no details about your problem, so we can't really answer it
Tell us what happens when you try to run the script? Do you get an error? What is the message? What have you tried in order to fix it and what happened then?