Page 1 of 1

add code module validation into rxrec

Posted: Mon Nov 02, 2015 5:30 pm
by svelaga
1) I have recorded the user actions

2) I have written a code module where I would verify the value of one of the UI element (taken from repository)
based on the input from excel
I should make the user action

eg : if(strHighways == "TRUE") {
var avoidHighways = repo.ComAPP.CreateTrip.AvoidHighWays;
avoidHighways.Checked = true;
}


And this code works good when run individually ... but how should i combine this piece of code inside recorded actions in (rxrec text case) .....

*****please i want to run the test case which has the recorded steps and also added the code module
but want to know how to add this code module validation in between the recorded actions *******

Re: add code module validation into rxrec

Posted: Mon Nov 02, 2015 6:53 pm
by odklizec
Hi,

I would suggest you to check this blog article...
http://www.ranorex.com/blog/custom-smart-actions