Friday, September 20, 2013

Sharing remote screen for Selenium tests monitoring

CASE STUDY
We have a big suite of Selenium tests. It is running on a remote continuous integration server (Jenkins). Some tests are successfully passing on the local machine but are always failing when running on the server. It was really difficult to find a cause of the failure on a remote server using only logs.
Task/goal: Find a way of graphical monitoring of the tests running process on the remote server.


SOLUTION
Short idea & results: We started sharing X display of a remote server over VNC to our local computers. This really helped, because now we can see what is going on with tests when they’re running on the remote machine and it is much easier to fix broken tests.


First of all install:
  • Xvfb (on a remote server) - a server that performs all graphical operations in memory, not showing any screen output. From the point of view of the client, it acts exactly like any other server, serving requests and sending events and errors as appropriate. However, no output is shown.




  • VNC client (on a local machine) - a program that watches, controls, and interacts with a server. The client controls the server.


Follow the steps below:
  1. Open your Jenkins project configuration page and make sure that this check-box is checked.
           Now Xvfb will start every time our project is building. Run a Jenkins project now.


  1. Find a number of display on which your Jenkins job is running.
  • in command prompt launch to your server via SSH and run a command: ps afx | grep vfb
  • you should see something like this (in this case number of display is 2):   
 


  1. Start x11vnc server on a display which you found in a previous step:
                       x11vnc -display :<NUMBER_OF_DISPLAY>


  1. Create an SSH tunnel between your local machine and the server where you tests are running:

  2. Run VNC client on your local machine, create a new connection. With Chicken of the VNC it looks like this:
Now click on Connect, wait for a while…
Woohoo! Now you see what is going on with your tests on a remote machine.

80 comments:

  1. Спасибо, ваша статья была очень полезна!

    ReplyDelete
    Replies
    1. Спасибо за обратную связь!

      Delete
  2. I wish to indicate because of you only to bail me out of this specific trouble.As a consequence of checking through the net and meeting systems that were not beneficial, I thought my life was finished

    selenium training in bangalore|
    python training in bangalore|

    ReplyDelete
    Replies
    1. Thanks for your informative post. Selenium is the future of IT world to improve the quality of products.

      Selenium Classes in Chennai
      Selenium Training in Chennai

      Delete
  3. And indeed, I’m just always astounded concerning the remarkable things served by you. Some four facts on this page are undeniably the most effective I’ve had."Devops Training in Bangalore"

    "Devops Training in Bangalore"

    "Devops Training in Chennai"

    ReplyDelete



  4. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts, have a nice weekend!

    java training in chennai

    ReplyDelete
  5. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
    Besant technologies Marathahalli

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. large

    ReplyDelete
  9. Those rules moreover attempted to wind up plainly a decent approach to perceive that other individuals online have the indistinguishable enthusiasm like mine to get a handle on incredible arrangement more around this condition

    Devops Training in Chennai

    ReplyDelete
  10. Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp great deal more around this condition. Selenium Training In Bangalore | Best Selenium Training in Bangalore

    ReplyDelete
  11. Good informations It mayt be Helpfull for me thanks alot for sharing, Know how Development and operations will work in one platform
    Devops training
    Best Salesforce Training

    ReplyDelete
  12. Wonderful post!!Thank you for sharing this info with us.
    Keep updating I would like to know more updates on this topic
    Very useful content, I would like to suggest this blog to my friends.

    Selenium training Chennai

    Selenium Training Institute in Chennai

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. The article is more informative. This is more helpful for our selenium testing training in chennai. Thanks for sharing

    ReplyDelete
  15. Post is very useful. Thank you, this useful information.

    Get Business Objects Training in Bangalore from Real Time Industry Experts with 100% Placement Assistance in MNC Companies. Book your Free Demo with Softgen Infotech.

    ReplyDelete
  16. Wonderful thanks for sharing an amazing idea. keep it...

    Get Business Objects Training in Bangalore from Real Time Industry Experts with 100% Placement Assistance in MNC Companies. Book your Free Demo with Softgen Infotech

    ReplyDelete
  17. It's very surprising to Visit your site...This Resource is very helpful to share the information's about Careers...Thanks for all your help
    Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

    ReplyDelete
  18. Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts..
    java training in chennai

    java training in omr

    aws training in chennai

    aws training in omr

    python training in chennai

    python training in omr

    selenium training in chennai

    selenium training in omr

    ReplyDelete
  19. Good post. I learn something new and challenging on sites I stumbleupon on a daily basis. It's always interesting to read content from other writers and practice a little something from their web sites.
    angular js training in chennai

    angular js training in tambaram

    full stack training in chennai

    full stack training in tambaram

    php training in chennai

    php training in tambaram

    photoshop training in chennai

    photoshop training in tambaram

    ReplyDelete
  20. I followed all the steps but after connecting to localhost via vncviewer, I see black screen instead of test execution. I know this post is very old but I did not find any article as perfect as this with the steps. Is there anyway that I can contact you for some clarification? Thanks.

    ReplyDelete
  21. Very information article thanks for sharing looking forward for next blog update.

    typeerror nonetype object is not subscriptable

    ReplyDelete
  22. Fantastic blog with unique content and information provided was very valuable waiting for next blog update thank you .
    Ethical Hacking Course in Bangalore 360DigiTMG

    ReplyDelete

  23. Excellent blog information shared was very informative looking forward for next blog thank you.
    Data Analytics Course Online

    ReplyDelete

  24. Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.
    tally training in chennai

    hadoop training in chennai

    sap training in chennai

    oracle training in chennai

    angular js training in chennai

    ReplyDelete
  25. It’s very helpful for us, thank you so much for sharing such an amazing article. Visit Ogen Infosystem for top Website Designing and PPC Services in Delhi at an affordable price.
    Website Designing Company in India

    ReplyDelete
  26. Wow! Such an amazing and helpful post this is. I really really love it. I hope that you continue to do your work like this in the future also.

    Python Training in Pune
    Best Python Classes in Pune

    ReplyDelete
  27. Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.


    เว็บแทงบอล
    ufabet
    ufa
    พวงหรีด
    โควิด
    บาคาร่า

    ReplyDelete
  28. This article is increasing the interest to learn more about this topic. Continue the sharing your new updates, regularly for my future.


    คาสิโนออนไลน์
    ufabet
    ufa
    เว็บบอล
    relx

    ReplyDelete
  29. Movie-watching websites that are more than movie-watching websites Because we are the number 1 free movie site in Thailand for a long time, including new movies, Thai movies, Western movies, Asian movies, we have all kinds of ways for you Including new series Full of all stories without interstitial ads to keep annoying anymore. One place sa-movie.com.

    Android and IOS operating systems. Watch online movies, Thai movies, Western movies, Asian movies, Cartoon movies, Netflix Movie, Action Movies, Comedy Movies, Crime Movies, Drama Movies, Horror Movies, Adventure Movies, Crash Movies and still have many new movies to watch. You can watch for free anytime, anywhere 24 hours a day at see4k.com.


    GangManga read manga, read manga, read manga online for free, fast loading, clear images in HD quality, all titles, anywhere, anytime, on mobile, tablet, computer. Android and IOS operating systems. Read top comics, action dramas, comedy, adventure, horror and manga. New coming every day to watch many more. Can be read for free anytime anywhere 24 hours a day at gangmanga.com..

    It is no secret that football is among the most popular and widely watched sports. Everybody who likes football tries to find the best platform for free soccer streaming. So, what are the best free sports streaming sites? We are going to answer this question. On this page, you can find a detailed overview of the most widespread soccer streaming websites. Keep on reading and make the best choice for you live24th.me.

    ReplyDelete
  30. Wonderful content as always. I love how you talk about the projects and topics in detail. Keep the articles coming.
    Distributed Team .

    ReplyDelete
  31. great article!! sharing these type of articles is the nice one and i hope you will share an article on data science.By giving a institute like 360DigiTMG.it is one the best institute for doing certified courses
    data science certification

    ReplyDelete
  32. This is also a very good post which I really enjoyed reading. It is not every day that I have the possibility to see something like this..
    machine learning courses in aurangabad

    ReplyDelete
  33. Probably the most genuine football betting UFABET that's beyond description Find fun, excitement and excitement with slot video games, hundred totally free recognition, quick withdrawal. If you desire to have fun slots for money No need to deposit a great deal, no minimum, no need to share, squander moment for the reason that UFABET is in fact reduced, given seriously, many great offers are waiting for you. Prepared to ensure pleasurable, regardless of whether it's Joker SlotXo fruit slot, we are able to phone it an internet slot website for you personally especially. Ready to have fun Like the support staff which is going to facilitate slot formulas as well as techniques of actively playing So you will be certain that each minute of fun and pleasure We will be there for one to give your customers the best appearance as well as fulfillment.
    บาคาร่า
    สล็อต
    ufa
    แทงบอล

    ReplyDelete
  34. Incredible site you have here.. It's elusive quality composing like yours nowadays. I truly appreciate people like you! Fare thee well!! gadget news

    ReplyDelete
  35. Incredible article. I'm managing a portion of these issues too..

    best interiors

    ReplyDelete
  36. great post ! This was actually what i was looking for and i am glad to came here!
    PingFederate Training
    MuleSoft Training

    ReplyDelete
  37. Your work is very good and I appreciate you and hopping for some more informative posts
    <a href="https://360digitmg.com/course/certification-program-in-data-sciencedata science training</a>

    ReplyDelete
  38. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
    data scientist certification malaysia

    ReplyDelete
  39. Good post. I would like to thank you for the effort you put into writing this interesting and informative article. If you need a visa , you can apply for Turkey Visa and Visa on Arrival Turkey You can fill the form. It is easy & quick to get a Turkey eVisas by following 3 simple steps.

    ReplyDelete
  40. I stumbled across your blog and wanted to say that I really enjoyed reading your articles. Anyway, I will subscribe to your feed and hope you post again soon.
    Data Scientist Course in India

    ReplyDelete
  41. This is really an inspiring and helpful article. I am fully satisfied with your effort .There is no need to meet Kenya embassy specially for to get a valid Kenya evisa..The Government of Kenya grants the evisa online process.

    ReplyDelete
  42. I read your excellent blog post. It's a great job. I enjoyed reading your post for the first time, thank you.
    Data Science Institutes in Bangalore

    ReplyDelete
  43. There is obviously a lot to know about this. I think you made some good points in Features also. Great job
    Mlops Course

    ReplyDelete
  44. I saved as a favorite it to my bookmark website list and will be checking back soon. Please visit my web site as well and tell me your opinion.

    온라인카지노
    무료야설
    휴게텔
    스포츠마사지
    안마

    ReplyDelete
  45. This is a very useful article. e medical visa India, You can visit India for medical purposes and you can apply online for an e medical visa India via India e visa website.

    ReplyDelete
  46. This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.
    cyber security course malaysia

    ReplyDelete

  47. Interesting and attractive information. This blog is really rocking... Yes, the post is very interesting and I enjoy it a lot. How India Visa Works? In 3 simple steps you can get your visa. You can fill your online application form &, then upload all documents & pay your visa fee.

    ReplyDelete
  48. Web and Mobile Application Development We work professionally to create your desired digital products

    ReplyDelete
  49. Risk Assessment With our professional risk assessment you can conveniently evaluate the risk level of your personal or business website, or for your array of client’s websites.

    ReplyDelete
  50. I have bookmarked your site since this site contains significant data in it. You rock for keeping incredible stuff. I am a lot of appreciative of this site.

    ReplyDelete
  51. 360DigiTMG, the top-rated organisation among the most prestigious industries around the world, is an educational destination for those looking to pursue their dreams around the globe. The company is changing careers of many people through constant improvement, 360DigiTMG provides an outstanding learning experience and distinguishes itself from the pack. 360DigiTMG is a prominent global presence by offering world-class training. Its main office is in India and subsidiaries across Malaysia, USA, East Asia, Australia, Uk, Netherlands, and the Middle East.

    ReplyDelete
  52. This is a great post and enjoy the look of your blog very much. Thanks for sharing.
    파친코사이트

    ReplyDelete
  53. quite fine broadcast. I simply stumbled upon your blog and desired to pronounce that i've in reality loved surfing your blog posts. After each ill be subscribing for your feed and i reason you write behind extra quickly! Crack Hotspot Shield

    ReplyDelete
  54. This is a perfect post. And the information provided here is 100% Accurate. What are the most common Azerbaijan visa requirement. The passport holder must belong to an eligible country. And the Passport must be valid for at least 6 months etc.


    ReplyDelete
  55. Hey sir, Thanks for sharing a nice blog!! Your written content is very impressive. Many people ask, can we do work in Turkey? Yes, indeed. You can working in Turkey with an Turkey visa online. In fact, it is a very fast, cheap and easy way to get a Turkey work visa.

    ReplyDelete
  56. This supportive programming allows you to make editable computerized duplicates of documents that supply your formats texts with higher exactness. Very certain it's helpful and eminent programming empower you to deal with all PDF records giving the purchaser the opportunity to get definitively what the client needs. What's more, the outcomes may likewise be altered inside the applications or sent out into Microsoft Word.finereader crack free key

    ReplyDelete
  57. เล่นเกมต่างๆได้ตลอด 24 ชั่วโมง กับเว็บไซต์เกมที่โปรโมชั่นเยอะที่สุด เล่นได้ทั้งสมาชิกเก่า และสมาชิกใหม่ กับเว็บไซต์ PGSLOTGAMES กิจกรรม และสมาชิกใหม่ เอาใจผู้เล่นให้สามารถทำกำไรได้จำนวนมาก บริการเกมดีๆ PG SLOT AUTO

    ReplyDelete
  58. เว็บไซต์เกมสนุก สะดวก ปลอดภัย 100 เปอร์เซนต์ PG SLOT AUTO รองรับการใช้งานในหลากหลายระบบ ไม่ว่าจะเป็นสมาร์ทโฟน แท็บเล็ต และคอมพิวเตอร์ ผ่านเว็บไซต์ PGSLOT-AUTOS ให้คุณได้ผจญกับเกมสล็อตแบบใหม่ เล่นได้ไม่มีเบื่อ

    ReplyDelete
  59. Usually I do not read post on blogs, but I would like to say that this write-up very forced me to try and do it! Your writing style has been surprised me. Visit here for
    devops training in bangalore
    devops course in bangalore
    aws training in bangalore

    ReplyDelete
  60. Hii sir, I love reading this post, I always appreciate topics like these that are being discussed with us. Great information. I will follow the post thanks for sharing. Travelers have a query about: how to apply for a visa to Turkey? Now you can get a visa by 3 simple steps like filling an application form online, then making payment and receiving it in your email.

    ReplyDelete
  61. Your article is easy to read and understand. I would like to read more articles like this. Getting a Turkish e visa online is a hassle free process. It saves time and money as well.

    ReplyDelete
  62. Thank you for sharing your thoughts.
    Wise Care 365 Pro Crack Key
    https://freeproversion.com/wise-care-365-pro-crack-key-latest/

    ReplyDelete
  63. สำหรับผู้ที่ชื่นชอบภาพยนตร์ และผู้ชมทุกท่าน ที่ชื่นชอบ ดูหนัง ซีรีย์ที่ชื่นชอบในการรับชมภาพยนตร์ ซีรีย์ ดูซีรีย์ออนไลน์ อัพเดทใหม่ตลอดทั้งเดือน

    ReplyDelete
  64. We are also provide crack software. It has a wonderful feature. This is a good job. It is easy to use.
    https://azanpc.com/wondershare-filmora-11-crack-download-latest-version/

    ReplyDelete
  65. https://crackedpc.org/fl-studio-crack-21-feb-2023-patchkey/
    FL Studio Crack full download is the best music developer and producing software also called Fruity Loops. It is the most popular studio because it contains a Cardinal auditory workplace

    ReplyDelete
  66. Advanced System Care Crack is an award-winning software. It is gained its name and fame in more than 150 countries of the world. This is a Microsoft-certified partner. After, it provides the solution to all Microsoft technology-based issues and problems

    ReplyDelete
  67. Microsoft Office 2010
    Microsoft Office 2010 is great software which is use to enhance the working in system.

    ReplyDelete
  68. Sharing remote screens for Selenium test monitoring is a game-changer in the realm of quality assurance. It revolutionizes collaboration by providing real-time insights into automated tests, allowing teams to efficiently monitor progress and troubleshoot issues. This approach fosters seamless communication, enabling stakeholders to observe the testing process firsthand, ensuring transparency and swift decision-making. It's a pivotal step towards enhancing the efficiency and accuracy of Selenium tests, empowering teams to deliver top-notch software with confidence and precision.

    from: Digitizing Services

    ReplyDelete