Reg - inject Script issue

64 views
Skip to first unread message

akashdh...@gmail.com

unread,
Jan 22, 2019, 5:30:22 AM1/22/19
to Cognizant Intelligent Test Scripter
Jdk path not available pop is also not coming for Jdk can any one help thank you

shantha laxmi kumar

unread,
Jan 22, 2019, 5:36:54 AM1/22/19
to Cognizant Intelligent Test Scripter
Please ensure you have JDK 1.8 mapped to CITS or your path environment variable. Please share the list of steps followed and explain the issue at which you are stuck while injecting the external script.

Sushil Soni

unread,
Jan 23, 2019, 8:33:00 AM1/23/19
to Cognizant Intelligent Test Scripter
Hi,

I recently learned about ITS and went through the details given at github to install it locally on my laptop. 

What is the best way to start working on it? Is there any documentation/best practices/working examples which I can refer? Also, is there anyone who provides any kind of technical support/services or can help me generate automation scripts for my product? 

I would appreciate any help you can provide. 

Thanks & Regards,
Sushil

shantha laxmi kumar

unread,
Jan 23, 2019, 8:37:47 AM1/23/19
to Cognizant Intelligent Test Scripter
Please find the documentation to get started with CITS,

Most of the topics are self explanatory, please explore the tool for better understanding and revert to us in case of any issues.

Thanks,
Shantha

Sushil Soni

unread,
Jan 23, 2019, 11:16:36 AM1/23/19
to shantha laxmi kumar, Cognizant Intelligent Test Scripter
thanks Shantha for quick response.

When I am trying to set a value to a textbox, I get below error (I tried to use Set and SetByJS method with no success):


org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'
(Session info: chrome=71.0.3578.98)
(Driver info: chromedriver=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),platform=Windows NT 10.0.15063 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '3.5.3', revision: 'a88d25fe6b', time: '2017-08-29T12:42:44.417Z'
System info: host: 'USLT5CG72143XD', ip: '10.33.9.162', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_181'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{mobileEmulationEnabled=false, hasTouchScreen=false, platform=XP, acceptSslCerts=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, platformName=XP, setWindowRect=true, unexpectedAlertBehaviour=, applicationCacheEnabled=false, rotatable=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),

also, I noticed that I get below error message while taking the screenshot:

com.cognizant.cognizantits.engine.reporting.util.ReportUtils takeScreenshot:null

java.lang.RuntimeException: Error making screenshot

                at com.cognizant.cognizantits.engine.drivers.SeleniumDriver.createNewScreenshot(SeleniumDriver.java:186)





--
You received this message because you are subscribed to the Google Groups "Cognizant Intelligent Test Scripter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cognizant-intelligent-t...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cognizant-intelligent-test-scripter/406655c4-bd9f-4baf-9f82-72a1c7b72d71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sushil Soni

unread,
Jan 23, 2019, 1:34:42 PM1/23/19
to shantha laxmi kumar, Cognizant Intelligent Test Scripter
Hi Shantha/All,

I was able to solve below problems. It was caused by webdriver version mismatch. Is there any best practice or FAQ document which one can refer? 

I also found "DemoProject" which comes with ITS, is there any documentation available explaining what these are and how and when to use what?

Regards,
Sushil

shantha laxmi kumar

unread,
Jan 24, 2019, 12:23:12 AM1/24/19
to Cognizant Intelligent Test Scripter
The below issue is due to driver and browser version compatibility. Please update your chrome driver version to 2.45, as mentioned here,
To unsubscribe from this group and stop receiving emails from it, send an email to cognizant-intelligent-test-scripter+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages