HomeSUPPORT QUESTIONS

Need help with StresStimulus? Start here.

Javascript object identification in Grid Messages in this topic - RSS

clinares
clinares
Posts: 1


10/22/2019
clinares
clinares
Posts: 1
Folks,

I have some questions in regards to identifying an object in a grid in Dynamics, I have a request that sends the PositionalParameters based on a JS calculation of the rowheight during runtime, when I run the script it fails because its sending the parameters based on the scripting object I selected and not the newly created one which sits on the bottom of the grid list during replay.

There are no references to it in previous requests, only in the JS file that does the actual calculation.

My questions:
How do you handle these situations?
How can I enable to execute JS during test replay?
Do I have to choose an specific browser?

thanks,

Carlos
0 link
George @StresStimulus
George @StresStimulus
Administrator
Posts: 244


10/23/2019
George @StresStimulus
George @StresStimulus
Administrator
Posts: 244
Carlos,

StresStimulus (as well as all other tools that work on the protocol level) does not provide full browser emulation including JS execution.

If you need to parameterize a value using custom JS calculations you can use an external variable that re-implements the calculation algorithm that is described here.

You can use the following languages: C#, VB.Net, JScript .Net

- Cheers
0 link






Copyright © 2019 Stimulus Technology