Forum Discussion
Can you show, how you have instantiated the Page ?
Here are the 2 .js files.
The issue i am having is that I am saying. HEY under unbookedDiv, grab the object and drag it over to BookedDiv. (no problem). Now I am saying HEY under unbookedDiv grab the other object and drag it over to BookedDiv.
But... it doesn't work, it trys to grab the original object again and drag it from bookedDiv to BookedDiv.
Funny thing is, if i tell it to: HEY under unbookedDiv Grab the other object and drag it to over to UnbookedDiv, it will take the original Object in booked and drag over to unbooked.......
- baxatob7 years agoCommunity Hero
Yes, that what I said.
You create Page object only one time:
var Page = new dCompactorBlockPage();
This object store all properties relevant to the moment of its creation. This is the same object always, when you call it from BookCase() function. Changing the value of Project.Variables.CaseName does not affect to this object.
Try to create the Page inside BookCase() function:
function BookCase(pCaseName) { Project.Variables.CaseName = pCaseName; var Page = new dCompactorPage(); Log.Message. ... ... }
Related Content
- 2 years agoTestQA1
- 5 years agoKrishna_Kumar
Recent Discussions
- 17 hours agoAivanitskiy
- 21 hours agonastester