WORKING WITH QTP

TestEveryThinG

Archive for the ‘QTP’ Category

Announcing Selenium 3.0-beta1

Posted by rajivkumarnandvani on August 4, 2016

Official Selenium Blog

At SeleniumConf in 2013, we announced that a new major version of Selenium would be released “by Christmas”. Fortunately, we never said which Christmas, as it has taken us a while to make all the changes we wanted to make! We’re excited to announce the release of the first beta — Selenium 3.0.0-beta1.

We’d love you to try it out on your projects, and provide us with feedback on where the rough edges are before we ship the 3.0 itself! Please remember that this is a beta release, so your feedback is incredibly helpful and valuable in order to help us smooth any rough edges.

For the last six years we’ve been advising users to switch to the newer WebDriver APIs and to stop using the original RC APIs. With Selenium 3.0, the original implementation of RC has been removed, replaced by one that sits on top of WebDriver. For many users, this…

View original post 197 more words

Posted in QTP | Leave a Comment »

Available Android app of Testeverything Site

Posted by rajivkumarnandvani on July 26, 2016

Hi,

Now you view the TestEverything Site updates on your Android mobile.just download the android app

Please refer the below link to download the apk file of  Teverything Site.

https://drive.google.com/file/d/0B27kZ9NQHijSQnJtc1RYdGVyR2M/view?usp=sharing

Download TesteveryThing APK file
TesteveryThing APK

Posted in Automation, DATABASE, FAQ QTP, Jenkins, JMETER, Miscellaneous, QTP, QTP FAQ, SELENIUM, WEB, WEBDRIVER, WINDOWS | Tagged: , , , | Leave a Comment »

HOW TO UNINSTALL JENKINS

Posted by rajivkumarnandvani on January 13, 2015

How to uninstall Jenkins on Mac system

  1. Execute from terminal
  2. /Library/Application Support/Jenkins/Uninstall.command
  3. Or use Finder to navigate into that folder and double-click on Uninstall.command.
  4. If the uninstallation script cannot be found, use:
  5. sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist
  6. sudo rm /Library/LaunchDaemons/org.jenkins-ci.plist
  7. sudo rm -rf /Applications/Jenkins “/Library/Application Support/Jenkins” /Library/Documentation/Jenkins
  8. if you want to get rid of all the jobs and builds:
  9. sudo rm -rf /Users/Shared/Jenkins
  10. to delete the jenkins user and group (if you chose to use them):

    11.sudo dscl . -delete /Users/jenkins

    12.sudo dscl . -delete /Groups/jenkins

   Get more info…

Baby Products

Posted in Jenkins, QTP | Tagged: , | Leave a Comment »

To know all devices connected to machines / simulator information on mac machine

Posted by rajivkumarnandvani on January 7, 2015

Open the terminal type following command:

$ instruments -s deivces


Known Devices:
mobileQA’s Mac mini [303FD57A-BA31-5AF8-BBC4-85D1F3FF38A3]
Resizable iPad (8.0 Simulator) [5C7AFC61-6B75-49DE-9B28-4CCD125A1F24]
Resizable iPhone (8.0 Simulator) [D88F397A-98B4-4CE7-A625-230A56730086]
iPad 2 (7.0.3 Simulator) [C2C72D3E-147C-4796-90DD-682E4DBD469E]
iPad 2 (7.1 Simulator) [696557BE-7723-49A3-ADA6-46090B2576FB]
iPad 2 (8.0 Simulator) [3395DD16-17E6-4A69-BAB2-D7414759E04B]
iPad Air (7.0.3 Simulator) [1432341A-C3DD-47B8-95D4-5F17C08BF4A7]
iPad Air (7.1 Simulator) [14C9A977-4D56-404A-897F-F5DE8F5F7208]
iPad Air (8.0 Simulator) [F92E44D9-8E3F-43D2-9124-00C688126AED]
iPad Retina (7.0.3 Simulator) [4FFA8E0D-290A-47BB-B7D6-806641AFAEF7]
iPad Retina (7.1 Simulator) [76F3CC43-0E3A-4ADD-9520-AA1E20F8DD71]
iPad Retina (8.0 Simulator) [DC9C5DFA-988B-40A5-8E81-3F3FB0D11043]

 

Posted in QTP | Tagged: , , , , , , | Leave a Comment »

Jmeter: pass a value between threads

Posted by rajivkumarnandvani on January 11, 2012

Find out ways to pass a value between threads (i.e. capturing a value in one of the thread and passing it to the other thread in the same test plan).
Tool Used:     JMeter: Performance testing tool.
Solution:       Sharing Variables


Read the rest in  Testeverythingqtp   Article….

Thanks.

Posted in JMETER, QTP | Tagged: , , , , , | Leave a Comment »

Tips to Decide What Test Cases to Automate

Posted by rajivkumarnandvani on December 1, 2011

It is impossible to automate all testing; the first step to successful automation is to determine what test cases should be automated first.

The benefit of automated testing is correlated with how many times a given test can be repeated. Tests that are only performed a few times are better left for manual testing. Good test cases for automation are those that are run frequently and require large amounts of data to perform the same action.

You can get the most benefit out of your automated testing efforts by automating:…..

Read the rest in  Testeverythingqtp  Article….

Thanks.

Posted in QTP | Leave a Comment »

How to Use the VBScript RegExp Object

Posted by rajivkumarnandvani on September 18, 2011

Hi All,
                                                                                                                                                                                                                                                        I faced a situation where I had to update the field’s value from another file. I can not use the string replace method because It will replace the all the matches value, While I want to replace the first match with the first value of another file.  Here I am trying to explain
                                                                                                                                                                                                                                                              First File Contents:
                                                                                                                                                                                                                                                             This blog refers to QTP.
I want to get first line value “=”  from another file.
Here I am using Rexexp
with global property value false
Now I want to get Second line value “=”  from another file.
Global property false will serach only first match
If regexp global property true then it search all the matches
Now I want to get Third line value “=”  from another file.
                                                                                                                                                                                                                                                             Second File Contents:
                                                                                                                                                                                                                                                                    Rajiv
Kumar
Nandvani
                                                                                                                                                                                                                                                                              I want output like this:
                                                                                                                                                                                                                                                            This blog refers to QTP.
I want to get first line value “Rajiv”  from another file.
Here I am using Rexexp
with global property value false
Now I want to get Second line value “Kumar”  from another file.
Global property false will serach only first match
If regexp global property true then it search all the matches
Now I want to get Third line value “Nandvani”  from another file.
                                                                                                                                                                                                                                                           Here is the code that I have used to solve this problem
Read the Rest in TestEveryThinGQTP….

Posted in QTP | Leave a Comment »

QTP Mercury DeviceReplay vs SendKeys/ Right click mouse

Posted by rajivkumarnandvani on July 28, 2011

The Device Replay feature is used to perform mouse and keyboard actions against screen coordinates that are provided. The Device Replay functions are not automatically recorded, but must be programmed manually in the Expert View.

For more info click here

Posted in QTP | 1 Comment »

Select the row in WEBTABLE/WEBGRID using QTP/DOM

Posted by rajivkumarnandvani on July 23, 2011

Hi All,

I found that most of time while working with WEBTABLE we need to the select the row based on some criteria by clicking checkbox or radiobutton.For that first we have to find the row which we have to select based on value of that row like text/link inside the row.
Here I am giving an example how to select a row in Webtable by finding the text. Logic I am using here is first i will find the row number from webtable where my searching text is present using GetRowWithCellText method then I will provide the column name/index of webtable where checkbox is present.


In below mentioned example I will select the row where Confirmation Number is “15204
Let’s see

Select Date ConfirmationNumber User Name Organization Name
17-SEP-2008
13761
 SMITH’S LP SUPPLY CO.
24-OCT-2008
13808
 Micro Motion test1
30-OCT-2008
13874
 EMERSON PROCESS MANAGEMENT ASIA PACIFIC PTE LTD
13-JUN-2009
15058
 Spartan Controls Ltd.
08-AUG-2009
15204
 Emerson Process Management

 Click here to get full details…

http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141998662587146404
http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141998664278824982
http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-141998667291069023

Posted in QTP, WEB | Tagged: , , | 8 Comments »

Highlight the text on page using the QTP

Posted by rajivkumarnandvani on May 25, 2011

Hi All,

Someone asked me how to highlight the text on page using the QTP. So here I have created a function that will find the text on page and highlight it if finds else not.

REM  ——  Set page object     ———
set objpage = Browser(“BrowserName”).Page(“Pagename”)
call   HighLightTextPresentOnPage(objpage ,”News” )
Function HighLightTextPresentOnPage(byval objpage , byval Textvalue )
On error resume next
REM ——- Create child object description
Set childobj = Description.Create()
childobj(“micclass”).value=”WebElement”
childobj(“html tag”).value=”.*[A-Za-z0-9].*”
childobj(“outertext”).value =Textvalue
REM  ———-Create ALL child object 
set allobj = objpage.ChildObjects(childobj)
 REM here highlight method we will use that is in build in QTP for object
For i=1 to allobj.count-1
    allobj.Item(i).HighLight
Next
           If allobj.count > 0 then
              HighLightTextPresentOnPage = true
           Else
              HighLightTextPresentOnPage = false
           End if
             On Error GoTo 0
End Function

Posted in QTP, WEB | 1 Comment »