Welcome to Sulekha IT Training.

Unlock your academic potential here.

“Let’s start the learning journey together”

Do you have a minute to answer few questions about your learning objective

We appreciate your interest, you will receive a call from course advisor shortly
* fields are mandatory

Verification code has been sent to your
Mobile Number: Change number

  • Please Enter valid OTP.
Resend OTP in Seconds Resend now
please fill the mandatory fields including otp.

How to lock the PC after automatically running Quick Test Professional scripts?

  • Link Copied

Being a graphical interface record-playback automation tool, Quick Test Professional makes wonders enabling the professionals to work with any web, java or windows client application. Ranging from testing standard web pages, web objects, and ActiveX controls. Quick Test Professional (Quick Test Professional) also enables to test Java applets and applications and multimedia objects on Applications as well as standard Windows applications, Visual Basic 6 applications and .NET framework applications…

Interactive Testing tool

Quick Test Professional is a revolutionary testing tool that is powered with Mercury Interactive Functional Testing. For instance, Mercury QTP provides the industry’s best solution for functional test and regression test automation – addressing every major software application and the environment. This next-generation automated testing solution deploys the concept of Keyword-driven testing to radically simplify test creation and maintenance. Unique to QTP’s Keyword-driven approach, test automation experts have full access to the underlying test and object properties, via an integrated scripting and debugging environment that is round-trip synchronized with the Keyword View.

The most important advantage of Automation Testing is that Scripts are run in an unattended mode. It allows the tester to prepare the batch of scripts and leave their homes. Once the batch scripts are successfully completed running, no matter even if it passes or even get failed, the PC is unlocked inviting others to view your secret project related data. Sometimes, this could pose a security issue or efficiently issue in an organization. However, it can become an extremely devastating issue in a case of a company having Finance or Banking related projects, having top most concern for the security of its data. Here are some simple tricks to lock the PC once the scripts are over.

You can use the following Quick Test Professional Script to Lock your PC :

Set obj = CreateObject("WScript.Shell")

sCmnd = "%windir%\SYSTEM32\rundll32.exe user32.dll,LockWorkStation"

obj.Run sCmnd, 0, False

The above Quick Test Professional Script will lock your PC automatically. Moreover, I will suggest you create this Script as a separate Script and call this Script lastly in your batch. This will solve the purpose.

Take the next step toward your professional goals

Talk to Training Provider

Don't hesitate to talk to the course advisor right now

Take the next step towards your professional goals in QTP

Don't hesitate to talk with our course advisor right now

Receive a call

Contact Now

Make a call

+1-732-338-7323

Enroll for the next batch

Related blogs on QTP to learn more

Latest blogs on technology to explore

X

Take the next step towards your professional goals

Contact now