How to run Selenium script when system is locked?

Hello Dear Friends

Have you ever faced a screen locking problem while executing your selenium script, if yes, I would suggest you to try the steps below and hope it will help you?

1. Execute test cases on VDI server:

    • Yes, guys you can execute your test cases on Virtual desktop infrastructure (VDI) server
    • It will provide lots of features and also you can customize the system as per your requirement.
    • For the more information I have mentioned URL link: VDI Site

 2. Video Player:

    • To keep your system session active and to avoid screen locking start default windows Video Player on agent machine and play any video in loop.

 3. VM Player: 

    • Download VM Player from VMware site and disable the screen lock option on the VM and run all your tests cases on their only.

 4. Run test cases on Jenkins : 

    • If you are using TestNG or any testing Framework or else you can execute your test case calling in Jenkins 

So, guys as mentioned above those solutions only I have tried if you know anything else, please do comment

Comments

Post a Comment

Popular Post

MCQ questions for graphics class method in Java

Session 2 TestNG Framework | How to create TestNG Project In Eclipse IDE | With Selenium Test Cases

Print Hello World In Different Programming Languages | Boost Coding Skill | Developer Life

Read Any Type Of JSON File in JAVA | Simple Introduction And Demo Of JavaScript Object Notation