Question
HCL Technologies
IN
Last activity: 16 Nov 2021 0:02 EST
Not able to run test case second time created from toggle automation recorder.
Hi,
I have created a test case from toggle automation recorder, after saving I opened "Scenario Testing" where all recorded test cases are available. I have selected the test case that I have created and clicked on "Run Selected". It ran smoothly first time. But, when I tried to ran it again (second time), it got failed and threw an error "JS error occured at step 1 : Uncaught TypeError: Cannot read property 'getItem' of null". I logged off and logged in again and done same process again, it ran for first time and failed for second time again with above error message.
Please suggest what needs to be done to fix this problem.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Updated: 8 Oct 2021 0:32 EDT
coforge
IN
I hope your pega platform version is more than or equals to 8.5, if so can you use the below test automation kit available at market place.
https://community.pega.com/marketplace/components/pega-test-automation-kit
you can simply download the rap and add it as build on application. After that, you can relogin into application in new browser ( to load fresh js bundles ) and try.
if you still face same issue please inform us.
HCL Technologies
IN
@RajeshVenkata I have tried the above solution and it is not working. I am still getting the same error. Tried on pega 8.5.2, would you please suggest any other way around.
coforge
IN
Can you confirm once issue, after first run did you see in browser console? before running second time are there any js errors present in browser console?
HCL Technologies
IN
@RajeshVenkata After running for the first time browser console has the error
"JS error occured at step 1 : Uncaught TypeError: Cannot read property 'getItem' of null".
coforge
IN
correct because of the js error for first run second run is failing. we will try to address this issue in release 1.4 and release 1.4 is two weeks away from now or mostly end of October. so you can download 1.4 release rap from the same market place.
please wait for 1.4 release so that this issue would get rid of and you can verify once you download and add to your application.
HCL Technologies
IN
@RajeshVenkata Thanks for the update.
HCL Technologies
IN
coforge
IN
it will be GA in a span of one week or little early and available at https://community.pega.com/marketplace/components/pega-test-automation-kit
HCL Technologies
IN
@RajeshVenkata Okay, Thank you for the update.
coforge
IN
you can download at 1.4 version at market place https://community.pega.com/marketplace/components/pega-test-automation-kit and verify your issue.
HCL Technologies
IN
It seems they have only updated the version to 1.4, the zip which is getting downloaded is of 1.3 version only. Could you please check and confirm once.
Regards, Mayur
coforge
IN
Can you recheck once again?
I could able to download 1.4 version only here https://community.pega.com/marketplace/components/pega-test-automation-kit
Hope you are clicking on "Version 1.4" link only
HCL Technologies
IN
Yes, I am navigating through above link only, when I click on download version 1.3 zip is getting downloaded, I tried importing this in our application and it says all rules are already present in the system, as I have tried with 1.3 version previously.
Regards, Mayur
coforge
IN
Looks like some issue for your user or some thing which has to fix from our side.
For now I have attached to this post. you can download it form here.
Let me know if you still face any issues.