tag:blogger.com,1999:blog-1282146880741978115.comments2024-03-14T15:54:49.777+05:30Gaurang Shah about AutomationAnonymoushttp://www.blogger.com/profile/08771276997741729373noreply@blogger.comBlogger327125tag:blogger.com,1999:blog-1282146880741978115.post-69745293596795570082017-10-10T18:57:05.405+05:302017-10-10T18:57:05.405+05:30@Swetha, before returning driver could you check i...@Swetha, before returning driver could you check if it's null or not. Anonymoushttps://www.blogger.com/profile/08771276997741729373noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-54325298764422037992017-10-10T18:09:32.572+05:302017-10-10T18:09:32.572+05:30Only difference is i am using chrome driver instea...Only difference is i am using chrome driver instead of firefox.Here is the code where i changed <br />@pytest.fixture(scope='session', autouse=True)<br />def browser():<br /> global driver<br /> if driver is None:<br /> driver = webdriver.chrome("C:\Users\Administrator\Downloads\chromedriver.exe")<br /> return driver<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-8284373148423671232017-10-10T17:49:46.671+05:302017-10-10T17:49:46.671+05:30@Swetha, it seems like driver object is null, if y...@Swetha, it seems like driver object is null, if you using exact code in the way I have explained it should not give you any error. if you have just copied part of the code and using different way to initialize the driver object then you will have to debug your code to check why driver object is null. Anonymoushttps://www.blogger.com/profile/08771276997741729373noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-63959394417525210032017-10-10T17:41:49.653+05:302017-10-10T17:41:49.653+05:30Hi Gaurang, Thanks for the code.I tried implementi...Hi Gaurang, Thanks for the code.I tried implementing the same but its throwing me errors .<br />INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)<br />INTERNALERROR> File "C:\Users\Administrator\Venv_Hoteltap\lib\site-packages\_pytest\vendored_packages\pluggy.py", line 250, in _wrapped_call<br />INTERNALERROR> wrap_controller.send(call_outcome)<br />INTERNALERROR> File "D:\Hoteltap\src\main\scripts\conftest.py", line 21, in pytest_runtest_makereport<br />INTERNALERROR> _capture_screenshot(file_name)<br />INTERNALERROR> File "D:\Hoteltap\src\main\scripts\conftest.py", line 31, in _capture_screenshot<br />INTERNALERROR> driver.get_screenshot_as_file(name)<br />INTERNALERROR> AttributeError: 'NoneType' object has no attribute 'get_screenshot_as_file'<br /><br />Can you please help me out<br /><br />thanks<br />SwethaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-10275765206580553872017-07-29T23:09:46.328+05:302017-07-29T23:09:46.328+05:30Appreciate this blog. This blog provide complete i...Appreciate this blog. This blog provide complete information about use and importance of static analysis tool. Thanks for sharingAutomated static analysishttps://www.checkmarx.com/2014/07/29/building-secure-applications-maturity-models/noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-48889270332085253702017-05-22T22:59:25.828+05:302017-05-22T22:59:25.828+05:30@mubarak I have already given one example, it'...@mubarak I have already given one example, it's matter of duplicating this tests. Anonymoushttps://www.blogger.com/profile/08771276997741729373noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-9589963141157166082017-05-22T22:01:34.498+05:302017-05-22T22:01:34.498+05:30If would be good if you can explain in detail by g...If would be good if you can explain in detail by giving 2 or 3 examples.Anonymoushttps://www.blogger.com/profile/01774508913867514682noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-12664640675509222702016-11-20T23:16:53.772+05:302016-11-20T23:16:53.772+05:30Hi Gurang, When I call the script through selenium...Hi Gurang, When I call the script through selenium, it runs but I get the error :<br />Can’t get length. (-1728)Suparnahttps://www.blogger.com/profile/06296928470126698137noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-21272917454126570982016-05-16T18:41:10.037+05:302016-05-16T18:41:10.037+05:30Hi Gaurang,
i got the same issue "Exception ...Hi Gaurang,<br /><br />i got the same issue "Exception in thread "main" java.lang.NoClassDefFoundError: net/sourceforge/cobertura/coveragedata/HasBeenInstrumented" though i have cobertura-1.9.3.jar in my project/classpath.<br />do i need to add cobertura.jar as well to the project? i thought to add this cobertura.jar file to the project but this time , the cobertura report did not get generated. could you please help here.<br /><br />surajhttps://www.blogger.com/profile/07083095805253165312noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-55071727623156415972016-04-05T15:03:10.168+05:302016-04-05T15:03:10.168+05:30thanks for the nice postthanks for the nice postAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-64010198512792695672015-12-30T17:02:29.774+05:302015-12-30T17:02:29.774+05:30Hi,
I am using the selendroid, i am facing the pro...Hi,<br />I am using the selendroid, i am facing the problem on dialog box handling. how to handle dialog box & click ok/cancle button using selendroid script. i am using java as a supportrd language.<br /><br />Thanks<br />NituAnonymoushttps://www.blogger.com/profile/09938406217369757432noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-18891405402979226122015-11-20T15:42:17.855+05:302015-11-20T15:42:17.855+05:30Hi in the code above the 3rd line has onException ...Hi in the code above the 3rd line has onException function span something like html code is used is used. What for it is used, and when i use this code of line im getting error like -- Syntax error on tokens, delete these tokensAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-41841285671788830052015-11-18T14:16:21.753+05:302015-11-18T14:16:21.753+05:30Hi , I have used below code to click on hidden ele...Hi , I have used below code to click on hidden element <br /> WebElement tmpElement= driver.findElement(By.xpath("//*]"));<br /> JavascriptExecutor executor = (JavascriptExecutor)driver;<br /> executor.executeScript("arguments[0].click();", tmpElement); <br /> for (String handle : driver.getWindowHandles()) {<br /> driver.switchTo().window(handle);<br /> }<br /> driver.findElement(By.name("name")).sendKeys("Tesintgfg");<br /> driver.findElement(By.name("number")).sendKeys("222");<br /> driver.findElement(By.id("name")).sendKeys("Ts");<br /><br /> once it is clicked it focuses to new window but iam not able to focus to new window.can anybody help Anonymoushttps://www.blogger.com/profile/06156845348446191451noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-16960715857200691912015-11-06T14:51:42.128+05:302015-11-06T14:51:42.128+05:30Hi,
Thanks for the scripts , I downloaded and cre...Hi,<br /><br />Thanks for the scripts , I downloaded and created executable and included in my project.<br />worked well !!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-85806957724943339942015-09-30T13:39:58.272+05:302015-09-30T13:39:58.272+05:30While executing I got an error saying "Testca...While executing I got an error saying "Testcase contains no keywords" Please helpDishaMunshihttps://www.blogger.com/profile/13029365607117165213noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-80694925781953888882015-09-14T17:52:42.717+05:302015-09-14T17:52:42.717+05:30Hi Gaurang,
I am using Cucumber -JVM with JUnit a...Hi Gaurang,<br /><br />I am using Cucumber -JVM with JUnit and Selenium Grid, testing parallel excecutions using more than one JUnit runner class and getting cucumber json output files. I want to have a method which will get executed after all the JSON files are created as I am doing post processing by concatenating all the json files.<br /><br />Please suggest any solution.<br /><br />Thanks in advance,<br />Anite SAnite 🙂https://www.blogger.com/profile/13461349274087896330noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-14091351973746514962015-09-08T17:50:09.785+05:302015-09-08T17:50:09.785+05:30Hi gaurand have u ever implemented the above with ...Hi gaurand have u ever implemented the above with Csharp.<br />I have been recently moved from Java to CSharp whereas not able to find the TestNG equivalent tool in dotnet.<br />I want to implement grid with CsharpAkshttps://www.blogger.com/profile/10743357197269362415noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-47387062389591717842015-09-03T08:22:42.612+05:302015-09-03T08:22:42.612+05:30Hi Yamini,
thanks for pointing out, I have corre...Hi Yamini, <br /><br />thanks for pointing out, I have corrected the code. Anonymoushttps://www.blogger.com/profile/08771276997741729373noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-4912076446721340162015-09-03T01:15:47.540+05:302015-09-03T01:15:47.540+05:30Hi Gurang.. when I try to download your first scri...Hi Gurang.. when I try to download your first script ie Following is the script to handle the Authentication dialog box of Firefox in mac. I get an error. I tried to copy paste and I see that there is a < tag near span thats missing. can you upload the correct file. Desperate need for this.Anonymoushttps://www.blogger.com/profile/13902981844117931895noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-2903777214045203362015-08-18T19:04:34.000+05:302015-08-18T19:04:34.000+05:30Great Post Man!!!
Great Post Man!!!<br />גיגוhttps://www.blogger.com/profile/06892430136391006484noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-70241842198689857542015-06-25T09:33:48.067+05:302015-06-25T09:33:48.067+05:30Is that possible to provide dynamic data for expec...Is that possible to provide dynamic data for expectjson ?(i.e by using stored procedures via web services)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-9419588520525246202015-05-12T21:14:11.340+05:302015-05-12T21:14:11.340+05:30Hi Ajit, I have updated the code, please check.Hi Ajit, I have updated the code, please check.Anonymoushttps://www.blogger.com/profile/08771276997741729373noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-53135008449248825732015-05-12T20:50:36.100+05:302015-05-12T20:50:36.100+05:30Its not Working....
as there is Error Underline at...Its not Working....<br />as there is Error Underline at line <br /><br /> class="IL_AD" id="IL_AD">dependency<br /><br />in pom.xml.<br /><br />please Help.<br />Thanks,<br />Ajit Jadhav.Ajit Jadhavhttps://www.blogger.com/profile/05130009914120025253noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-68609944435383246832015-05-08T12:45:13.031+05:302015-05-08T12:45:13.031+05:30What is heightened privileges browsers?
http://ww...What is heightened privileges browsers?<br /><br />http://www.bestqtptraining.com/Anonymoushttps://www.blogger.com/profile/02631680869424583109noreply@blogger.comtag:blogger.com,1999:blog-1282146880741978115.post-27908452827611874712015-05-01T14:10:43.424+05:302015-05-01T14:10:43.424+05:30Well explained Gaurang.
Thanks,
DhirajWell explained Gaurang.<br /><br />Thanks,<br />DhirajAnonymousnoreply@blogger.com