I need to find a way of using a parameter or variable for the value @domain, but how?
/dom[@domain=$parDom] ---> does not work, $parDom is empty.
parDom is a Global Variable, but I want to read its value from an excel file.
The only thing I was able to do was, inside my code module:
void ITestModule.Run() { Mouse.DefaultMoveTime = 300; Keyboard.DefaultKeyPressTime = 100; Delay.SpeedFactor = 1.0; TestSuite.Current.Parameters["parDom"] = dom; Report.Log(ReportLevel.Info, "parDom = " + TestSuite.Current.Parameters["parDom"]);dom is a local variable to this module that binds to an excel file.
This works, I see in the log the value of parDom as it is in the excel file.
How, where do I pass the actual value of parDom so that it gets capture by the dom xpath in /dom[@domain=$parDom] .
Your help will be very appreciated.