Fear not.. I am not going to put you to sleep by “blowing my own trumpet” or narrating to you how I managed to bend the rainbow or build a bridge to Heaven and what not… π
I am this “yet” another guy on the internet who is blogging technical posts, not for the sake of it, or for the sake of seeking publicity, but with an intention of doing whatever I can, to share what I have learnt with others, who might have been looking for information, just like me on the net.
If you find things useful, let me know.. If you feel my posts suck or bore you to death, feel free to navigate away…
And yes, I am a person who is aspiring on two things to be done…
1. Be called as an Automation Architect some day..
2. See my name in one of the commits on the “Selenium” codebase !!
Someday, I hope to achieve both these !
Until then, I will continue to share what I know.. here… !
Oh btw, if you have any queries or doubts related to any of the posts, I would strongly encourage you to post it as a query on either the TestNG or the Selenium Google forums. I pretty much view all the mails there. I don’t frequent the blog site that often unless and until I am writing up a new post (which you can see has also become very rare these days….).
All the best buddy!
You will… π
Posted by savita | January 24, 2012, 1:59 pmThank you Savita… Am eagerly awaiting that day as well π
Posted by Confusions Personified | January 24, 2012, 2:02 pmAll the best..I know content on your blog will definitely help others in future.
Let me be the first one to subscribe to your blog. π
Posted by Gulshan Saini | January 24, 2012, 2:30 pmThanks Gulshan. Lets hope that it does serve the purpose for which I decided to start it π
Posted by Confusions Personified | January 24, 2012, 2:34 pmKrishnan – I am really struggling with TestNg Listeners. Can you please post a tutorial on same? It will be very helpful. I have searched on web and could not find one. The documentation on testng website is not enough to understand how to implement listeners. If you know any good link that can help me understand, that will also work.
Posted by Gulshan Saini | January 27, 2012, 6:20 pmThathasthu is the Sanskrit word π Check I managed to put something out there for you. Hope that helps!
Posted by Confusions Personified | January 27, 2012, 8:36 pmsubscribed
Posted by jerald | January 25, 2012, 10:40 amVery useful blog & replies (In groups)
You will definitely reach your goals in soon….
All the best..
Posted by santoshsarma | February 8, 2012, 8:07 pmI have seen your interestβs and response in GG, very accurately with functional code you will response …you are the saviour for the warriors who started war in selenium…u rock…..
Posted by chandra | April 15, 2012, 6:02 amOne Man Army of your organization… Thank you Krishnan.
Posted by S | May 18, 2012, 12:28 pmHope your dream come soon …. your interest and passion is amazing and combining with the knowledge you have shared, you are already inspiring others.
Posted by irahulsingh | September 30, 2013, 11:53 pmThank u! Lets hope it does become a reality some day!
Posted by Confusions Personified | October 1, 2013, 12:15 amReally cool job.. Please keep posting π
Posted by Rohith | December 13, 2013, 1:02 pmKrishnan, This is sreekumar. I am so impressed by seeing your blog. It’s so good and hope so you will answer for my selenium question.
Question: How to run selenium scripts in Mac using RemoteDriver and safari driver. I have 2 mac machines are there. Can you please send the code to invoke safari browser in Mac machine through RemoteDriver?
Posted by N sreekumar | May 19, 2014, 8:53 pmYou should post questions on the selenium-users google forums where you stand the chance of getting an instant reply.
Posted by Confusions Personified | May 20, 2014, 8:38 amKrishanan, I like your thought of sharing the knowledge. I am interested in your new posts. I am new to word press, how will i receive an email to my mail box once your post any new thing in your blog.
Basically, how to follow you and how i will be notified by email?
Thanks in advance.
Posted by Manoj | June 4, 2014, 8:11 pmYou might want to refer here : http://en.support.wordpress.com/following/
Posted by Confusions Personified | June 4, 2014, 8:17 pmHey there..I have a blog that needs a good banner.. I like the picture you have of a man with very large ears! That would sum up what my blog is about! I was wondering if i could use that picture just as my profile picture? I just need something to catch peoples eyes and I liked that image? Im not sure if its your design but would like to use it? Many thanks
Ruth
Posted by thelisteningpostblog | November 8, 2014, 5:59 pmHi.. am glad you liked that pic.. it wasn’t designed by me.. I borrowed it myself from the internet π So please feel free to use it… π
Posted by Confusions Personified | November 10, 2014, 8:39 amKrishnana,
Trying to setup new environment for selenium. Java code is running fine but giving below error when trying to load selenium code. I did check the space. Its fine. Java version: 1.8.xx. Selenium 2.44.
Exception in thread “main” org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows:
null
Build info: version: ‘2.44.0’, revision: ’76d78cf’, time: ‘2014-10-23 20:03:00’
System info: host: ‘SL-884NQ12’, ip: ‘172.16.96.199’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_25’
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:134)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:114)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:193)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:186)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:182)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:95)
at Pack.TestClass.main(TestClass.java:13)
Caused by: org.openqa.selenium.WebDriverException: Unable to create temporary file at C:\Users\kmahajan\AppData\Local\Temp
Build info: version: ‘2.44.0’, revision: ’76d78cf’, time: ‘2014-10-23 20:03:00’
System info: host: ‘SL-884NQ12’, ip: ‘172.16.96.199’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_25’
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.io.TemporaryFilesystem.createTempDir(TemporaryFilesystem.java:97)
at org.openqa.selenium.firefox.FirefoxProfile.layoutOnDisk(FirefoxProfile.java:399)
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:89)
… 7 more
Posted by Jafar Shaikh | February 9, 2015, 3:15 pmHope your dream would comm very soon β¦. your passion and interests are amazing and combining with the knowledge you have shared, you are truly inspiring others. I am really amazed.
Posted by Tanmay Ghorai | March 1, 2015, 10:14 amKrishnan– you rock man.. often when I struggle somewhere in TestNg or Selenium, I think of you ..thanks for all your help
Posted by sunny | April 1, 2015, 2:43 pmHello please subscribe me. Thanks
Posted by kriti | July 3, 2015, 2:10 pmhai there, i really like your post and i use to follow you comments on the Stackoverflow (http://stackoverflow.com/users/679824/krishnan-mahadevan), your post is simple and straight to the point. Keep it up man.
Posted by Selva Kumar | May 30, 2016, 3:58 pmThank you for your kind words Selva. Just trying to help others
Posted by Confusions Personified | May 30, 2016, 7:47 pmwill u help regarding appium
Posted by yogendra | July 15, 2016, 12:09 pmYou should try and post questions on forums for a faster response yogendra.
Posted by Confusions Personified | July 15, 2016, 12:45 pmAwesome contribution and counting. All the best!!. Certainly, Iβm one of the follower :)ο
Posted by Mallikarjun Halburgi | July 25, 2016, 8:21 pmHi krishnan, Is there any way we could directly discuss with you on some of the topics rather than using stackoverflow
Posted by jim | January 10, 2017, 10:58 pmWhat exactly are you looking at ? IMHO you are better off on stack overflow because there are a lot of people who can answer you. You can also find me on the selenium-users Google groups as well.
Posted by Confusions Personified | January 11, 2017, 6:12 amSome questions are unanswered in stack overflow, i believe you could one of them who could answer it , so looking at a place online where these questions could be send over to some one
who knows the answer
Posted by jim | January 11, 2017, 6:19 amPing those links to the questions and I will see if I can take a jab at them.
Posted by Confusions Personified | January 11, 2017, 6:22 amI am trying to figure out the actual issue and fix it . Kindly help with the following question .
http://stackoverflow.com/questions/41549145/testng-parallel-execution-result-shows-less-pass-percentage-compare-to-normal-ex?noredirect=1#comment70303137_41549145
Posted by jim | January 11, 2017, 7:20 amI have responded to your query on Stackoverflow. Currently there’s hardly any information which can help in starting to debug. Please add more information as I mentioned in the comments of your query.
Posted by Confusions Personified | January 11, 2017, 7:43 amI have replied to your query…
Posted by jim | January 11, 2017, 8:21 amPlease let me know how to troubleshoot on this issue
Posted by jim | January 11, 2017, 8:22 amthe line of codes are more to fit into the comment section of the stack overflow
Is there any other way that i could share my code
Please let me know
Posted by Ji | January 11, 2017, 1:34 pmYou can post the code to gist.github.com and share a link to it on stack overflow
Posted by Confusions Personified | January 11, 2017, 1:35 pmHi , I have posted the code in stack overflow
please find the same
Posted by Ji | January 11, 2017, 1:47 pmhi I have my code in git hub, this is made for my company hence cant be in the stack overflow ,you can give the solution on stack . https://github.com/FoulerBenny/SampleProject.
2 issues
1. When running the framework parallel using testng.xml , the pass percentage is less . Element not found error majorly.
2. Unable to connect mac as node to the windows HUB. The testcase skip. I am connected using wifi to the node…
Posted by Ji | January 11, 2017, 7:12 pmI have answered your question for (1). For (2) I would suggest that you please add a new post on stackoverflow and provide as much details as possible.
Posted by Confusions Personified | January 11, 2017, 7:39 pmHi Krishnan , thanks for the reply. I have added one more comment as part of the Answer that you have posted in stack. Kindly reply
Posted by ji | January 11, 2017, 10:55 pmHi Krishnan, I have raise one more question on Selenium grid in stack, please could you answer this : https://stackoverflow.com/questions/41606782/selenium-grid-unable-to-run-windows-as-hub-and-mac-as-node
Posted by Ji | January 12, 2017, 1:28 pmDid my answer help you with your previous question ? If yes can you please accept it ?
Posted by Confusions Personified | January 12, 2017, 1:36 pmKrishnan, definitely i would do that , I trying to implement the same in the current frame work, the only challenge facing is that I was previously passing the driver reference to other classes , trying to figure if i could pass the getDriver() to other classes. In the mean while I would like to know about the other case as well
Posted by Ji | January 12, 2017, 1:42 pmThanks Krishnan , I have implemented the Threadlocal and it work fine now. Could you answer to the selenium grid issue as well.
Posted by Ji | January 12, 2017, 7:27 pmi want to login multiple user name & password how to do in excel sheet thanks in advances
Posted by ajit singh | June 29, 2017, 3:25 pmHow to fetch data as input from excel and use it as a input to login multiple user at time in selenium
Posted by ajit singh | June 29, 2017, 3:27 pmHi Sir,
I would be eager to know how to deploy custom servlets to extend both Hub and Nodes into Selenium Grid; I am using Selenium Grid βselenium-server-standalone-3.5.3β. I would be very thankful if you let me know the exact packaging (the directory structure) and deployment process; I want to extend some functionalities of Nodes and Hub in order to meet my requirements.
Posted by Nawazish Khan | September 19, 2017, 1:15 amHi Sir,
I have a question.
Iβm getting Error: Could not find or load main class org.testng.TestNG with selenium-server-standalone-3.9.1.jar
But the same works fine with selenium-server-standalone-2.39.0.
Do you have any idea on this?
Thank,
Senthil
Posted by Senthil Kumar | February 13, 2018, 5:37 pmHard to say what’s going on with out additional details. Can you post your query regarding this on the selenium users google groups ? Pls don’t forget to add additional context
Posted by Confusions Personified | February 13, 2018, 5:43 pmHi Krishnan, could you pls help in throwing some light on this question.
https://stackoverflow.com/questions/49247571/handling-connection-issue-between-selenium-grid-hub-and-node-in-the-test
Posted by nimish | March 13, 2018, 3:26 pmHi Krishnan, I need help. Could you please answer this question posted in stackoverflow: https://stackoverflow.com/questions/49330837/testng-separate-test-results-for-each-instance-of-factory-dataset-returned-fr
Basically, I have factory data provider. Dataprovider is fetching data from .xls. Lets say it returns 2 rows i.e 2 instances of datasets running against a class(set in factory) which has 2 test cases. I want results separated as mentioned in the post with unique instance name.
Posted by Babu | March 17, 2018, 9:49 pmHi, I need to fetch chrome console(dev tool) data.
List logEntries = driver.manage().logs().get(LogType.BROWSER).getAll();
//logEntries.getAll();
for (LogEntry entry : logEntries) {
System.out.println(entry.getMessage());
}
I am using this code with DesiredCapabilities but I get a message with around 78 character which is some icon and rest data for truncated. Is there a way to get the full message? appreciate your help.
Posted by raj | April 16, 2018, 10:53 amKM stop making your blog also be another stackoverflow π chill buddy…eppo chennai vareenga π
Posted by Prabu | August 31, 2018, 11:02 amI learn a lot from your articles and your posts on SO. Thanks a lot for inspiring me. You are like a candle in the darkness. π
Posted by Gurman Singh | August 18, 2020, 6:02 pm