KR Testing Solutions

Quality is effected by your work process

Comments

Go back to Main Site!!!!!!!!!!

Post You Queries/Comments here :

99 Comments »

  1. This website is very good but hot to post a quirey into it?
    my quirey is
    HOW TO RETURN A VALUE FROM A FUNCTION & SHOULD BE PRINT IN MAIN TEST

    Comment by nagesh | January 2, 2008 | Reply

    • ‘This is function that will be there in your vbs file.
      function add1(first,sec)

      add1 = first + sec

      end function
      ‘This is your main test

      sum = add(5,10)
      msgbox sum

      Comment by Chaitanya | June 23, 2009 | Reply

  2. Hello Sir,
    I am G.Saritha.At present I am woring in a small company as a trainee in testing.I have only basic knowledge .
    So please I am requesting u to help me .
    1.I dont know how to enter the test casesin the excel sheet.
    2.How to sent the defect to the TL
    3.What are the sites useful to learn more aboout testing.
    4.Is ISTQB certification (Foundation) suggestable or not to me as a beggner.

    Please send me all details.

    Thankyou in advance
    Regards
    G.Saritha

    Comment by Chetan | January 2, 2008 | Reply

  3. Hi Kuldeep,

    I have gone thru the site…it sounds interesting to work in descriptive programming in QTp can u help me that how should i go abt it i want to work in descriptive programming…

    Regards,
    amol
    9422501150

    Comment by Amol | January 2, 2008 | Reply

  4. what is the script for connecting to ORCAL through QUICK TEST PROFESSIONAL PLZ REPLAY TO MY MAIL
    AND YOUR WORK IS NICE FOR ALL TESTING PERSONS

    Comment by nagesh | January 2, 2008 | Reply

  5. Hi,

    Can some body please suggest which management testing tool can be applicable for QTP 9.0/9.9 (Like Test Director For WinRunner)

    Regards,

    Gayatri

    Comment by Gayatri | January 2, 2008 | Reply

  6. how to store .gui files and dat files in quality center

    Comment by Durga | January 2, 2008 | Reply

  7. Hi,
    You have given a very good view of QTP 9. Can you send some more details abt QTP 9 and object repository.
    The Adv & DisAdv of QTP 9 over QTP8.2.
    Will be eagerly waiting for your reply.

    With Regards,
    Pawan

    Comment by Pawan | January 2, 2008 | Reply

  8. the site was indeed useful..a very informative for a beginnner like me…thanks a million

    Comment by kuldeep kumar | January 2, 2008 | Reply

  9. how to select values from a weblist randomly…..??????if a weblist has 10 items how to select the 10 items randomly ?

    Comment by neelu | January 2, 2008 | Reply

  10. Hey,
    Thanks for the tutorial, It really helped!
    Keep up the good job!

    Comment by Ayreej | January 2, 2008 | Reply

  11. Hi,

    The details in the page are really good but if the steps r given for synnchonise,batch test,popup scenariors in mercury’s qtp would have been much better and if u can send the details on above mentions query to my mail id i would be great full to you

    Comment by vimal | January 2, 2008 | Reply

  12. How can we connect Database though Discriptive Programing in QTP 9.0

    Comment by Bhumeshwar | January 2, 2008 | Reply

  13. hay can u send the book for descriptive programing i am realy in need of it plese send it yaar

    Comment by girish | January 2, 2008 | Reply

  14. Hi
    This site is having very good Information.
    Anyone can go through this site.
    But still need to add Automation tools and their s/w
    bye

    Comment by kuldeep kumar | January 2, 2008 | Reply

  15. Kuldeep – Regarding the first limitation actually you can in VBScript implement the method Include “filename”.

    See this link they have an example
    http://www.visualbasicscript.com/m_29820/tm.htm

    You can also read an environment variable to locate a folder where are located your vbs library files. It is working even in a Visual Studio Debugger. This should work in QTP.

    For the VBScript Debugger in QTP, I have no solution.

    If you are looking for a real object oriented language to implement your web tests with debugger, check out http://www.InCisif.net.

    It supports C#, VB.NET and IronPython (record mode included). InCisif.net works with the different flavor of Visual Studio (Express).

    Check their demos

    Comment by Frederic Torres | January 2, 2008 | Reply

  16. This material is very very useful for me. Thanks a lot.

    Comment by Raavi | January 2, 2008 | Reply

  17. Hi Kuldeep your website is having very useful information to all. who are preparing for the testing tools. Thank you for giving this website to me. Please give the details of SAP also i want that one please kuldeep. Really i surprised for ur website.

    Comment by Rajeswari | January 2, 2008 | Reply

  18. hey guys one clarification required here there is no specific difference between sanity and smoke test. If you give one valid point that is enough.
    its my suggestion only………

    Aftr reading i m also getting confusion …… just 1 point is enogh…..

    Comment by Y B Reddy | January 2, 2008 | Reply

  19. Dear kuldeep
    I am a software tester in a company and is new in descriptive programming in QTP so can you refer me some documents or pdf for it..!
    thanks
    Kamal

    Comment by kamal | January 2, 2008 | Reply

  20. Hi,

    I cant find such usefull information for qtp on any other site.
    Its realy nice.

    Thanks again.
    Rohit.

    Comment by Rohit | January 2, 2008 | Reply

  21. It is very much useful for those who are working on QTP

    Comment by vidyasagar | January 2, 2008 | Reply

  22. At Last one good site on testing….the topic articles listed are found to be good.

    Appreciate if you can share few inputs in the following context…

    Usage of OOPs in vbscript(QTP) with regard to the Input and output operations performed. You can share one example on I/O on editbox if possible.

    Regards
    Ravi Prasad

    Comment by Ravi Prasad | January 2, 2008 | Reply

  23. This is among the best site i have visited which can definately help the testing job hunters.
    i enjoy a lot to read the answer published in this site.
    Thank you kuldeep

    Comment by jagdih | January 2, 2008 | Reply

  24. my question is that what is the diffrent b/w object oreinted and object based language?
    and is java support call by ref or call by value?
    plz replly

    Comment by manjeet singh | January 2, 2008 | Reply

  25. […] formatting the QTP results to display as part of the Web dashboard reports. QTP itself uses different style sheets to format its own xml test results, so one option is to tweak their style sheets to conform to the […]

    Comment by Part 7: Continuous Integration - The QtpBuild - From the software development trenches | January 2, 2008 | Reply

  26. the notes you are providng is well and sufficient and it is easily understanding and thanks to Mr.Kuladeep sir and Mr.Rakesh sir for providing this. will you provide me the functional testing on a web application,

    Comment by Srinivas Kumar | January 2, 2008 | Reply

  27. It is a very concise and tresely written matter.It can come handy to any new tester or even the experienced one.

    Comment by Shruti | January 2, 2008 | Reply

  28. Hi,
    Could you pls give me a link to practice(mock) exam for software Testing Foundation ISEB/ISTQB.I am due to sit for it in a week.
    You may however please prepare one for me.
    Any other relevant materials will be highly appreciated.
    Thanks for help
    rgs
    Yemi

    Comment by Oluyemi | January 2, 2008 | Reply

  29. how to get number of links in web page using qtp
    how to get number of text boxes using qtp

    Comment by rajanikanth | January 2, 2008 | Reply

  30. thanks to give valuable information regarding software testing

    Comment by Sumant Kumar | January 2, 2008 | Reply

  31. I need answers for these question please. i am new to testing industry.
    i would appreciate .
    thanks,
    kavitha.

    87) Explain some techniques for developing software components with respect to testability

    88) Describe a past experience with implementing a test harness in the development of software

    89)Have you ever worked with QA in developing test tools? Explain the participation Development should have with QA in leveraging such test tools for QA use.

    77) What is an equivalence class?

    Comment by kavitha | January 2, 2008 | Reply

  32. hello sir,
    fantastic work keep going….

    regards,
    deva

    Comment by devaraj | January 2, 2008 | Reply

  33. hello kuldeepse
    your articles about testing are excellent…keep doing these kind of things forever,so that guys like us could understand..

    with regards,
    bharathiraja

    Comment by bharathiraja | January 2, 2008 | Reply

  34. Hey man thanks a ton for this website its A to Z in QTP ! really helped me to understand what QTP is all about .
    thanks
    Raghu

    Comment by Raghu | January 2, 2008 | Reply

  35. Its a good blog for the beginners.
    Really very helpful

    Thanks
    Rajat Garg
    QA Engg.
    Intelligaia Technology.

    Comment by Rajat Garg | January 2, 2008 | Reply

  36. Gud information about testing fundas!! Would like to know more about KR Testing Solutions

    Comment by Anshuman | January 2, 2008 | Reply

  37. Thanks Kuldeepse.It would be helpful if you can send me articles on database testing as well as interview questions on manual and automated testing

    Comment by ajay suresh | January 2, 2008 | Reply

  38. This classification of test case type it’s very close to reality leaved by me. I do work in a Software Testin Factory with integrated tests and the optimal timing of writing system test cases described by Kuldeep is in agree with our day-by-day.
    The only differences is that we participate of the aproval meetings to design specification, with gains to validation of this, contributing with the quality of final product.
    Congratulations.

    Comment by Edgar Melo | January 2, 2008 | Reply

  39. Hi,
    We were glad to go through the website it was nice we would like to know informations about the script you have created a object for excelsheet and have used methods for that,
    Set Excelone=CreateObject(”Excel.Application”)
    Set ExcelSheet=CreateObject(”Excel.Sheet”)

    we would like to know the information regarding methods of the “excel” object.

    Regards,
    Siva

    Reply

    Hi Siva,

    Excel is an object of Excel application. Here i have created two object Excelone for excel application and ExcelSheet for excel sheet.

    Excel Sheet object can be used for copy/paste the data in row/column.
    Excel Application object can be used for saving the record or creating a new file (File System Object).

    Regards,
    Kuldeep
    KR Testing Solutions.

    Comment by Siva | January 3, 2008 | Reply

  40. Hi Kuldeep,

    Have a look

    http://qtpprofessionals.blogspot.com/

    Comment by Ramesh Jha | January 3, 2008 | Reply

  41. Hi kuldeep,
    this is nagesh what is AOM(automation object model)
    when i created tests using qtp ofter saving the action
    I want to run those prog using qtp only by dev a programe
    plz help me out

    Comment by nagesh | January 8, 2008 | Reply

  42. HI Kuldeep,

    u developed such a good for both the beginners as well as experienced professionals.

    Presently i am working with TestComplete tool and i need to know more about framework not thereotically.

    If possible expalin with one example.

    thanks in advance

    and waiting for ur reply.

    regards
    -Prasad G
    prasad.gali9@gmail.com

    Comment by Prasad gali | January 8, 2008 | Reply

  43. Hi Kuldeep,

    can u please send the scripts for

    1)How/what to test the dynamic images?what is the script for this?

    2)How to test the Tooltips in web Applications?

    3)How to write the script for menu items using QTP8.2

    i would wait for your reply
    Thanks & Regards
    suresh

    Comment by Suresh | January 9, 2008 | Reply

  44. Q 1: How/what to test the dynamic images?what is the script for this?
    Ans: You can test using image check point not sure about this.

    Q 2: How to test the Tooltips in web Applications?
    Ans: below example
    1. ‘ get the app object
    2. Set appObj = Browser(“Welcome To Nexaweb”).Page(“Welcome To Nexaweb”).JavaApplet(“DefaultJvmDetector”).Object.getScriptObject()
    3. ‘ get the buttons in the app
    4. Set objButtons = appObj.findObjects(“//button”)
    6. ‘ get the first button
    7. Set buttonObj = objButtons.elementAt( 0 )
    8.
    9. ‘ perform mouse over to create tooltip
    10. buttonObj.simulateMouseOver
    11. ‘ verify that a tooltip is visible
    12. if( appObj.isTooltipVisible() ) then
    13. ‘ get the tooltip
    14. Set tooltip = appObj.getTootlip()
    15. ‘ check to see if this is a text tooltip as expected
    16. if( tooltip.isTextTooltip() ) then
    17. ‘ verify the background color, of the tooltip
    18. Set bgColor = tooltip.getBackgroundColor()
    19. color = bgColor.getHTMLString()
    20. if( color “#FFFFE6″ )then
    21. Reporter.ReportEvent micFail,”TextTooltip Background Color”, “Expected color #FFFFE6. Acutal is “+ color
    22. else
    23. Reporter.ReportEvent micPass,”TextTooltip Background Color”, “Color was as expected :”+color
    24. End if
    26. ‘ verify the text of the tooltip
    27. text = tooltip.getTooltipText()
    28. if( text “This is a button tooltip.”) then
    29. Reporter.ReportEvent micFail,”TextTooltip”, “Expected text ‘This is a button tooltip.’. Acutal was “+text
    30. else
    31. Reporter.ReportEvent micPass,”TextTooltip”, “Got Expected text “+text
    32. End if
    33. Else
    34. Reporter.ReportEvent micFail,”TextTooltip”, “Tooltip is not a text tooltip”
    35. end if
    36. Else
    38. Reporter.ReportEvent micFail,”TextTooltip”, “No tooltip visible.”
    39. end if
    40. ‘ perform mouse exited to clear the tooltip
    41. buttonObj.simulateMouseExited
    42. ‘ get the second button
    43. Set buttonObj = objButtons.elementAt( 1 )
    44. ‘ perform mouse over to create tooltip
    45. buttonObj.simulateMouseOver
    46. Dim textArray
    47. textArray = Array(“east”, “north”, “south”, “west”)
    48. ‘ verify that a tooltip is visible
    49. if( appObj.isTooltipVisible() ) then
    50. Set tooltip = appObj.getTootlip()
    51. numChildren = tooltip.getChildObjectCount()
    52. For i = 0 to numChildren -1
    53. ‘ get the label text
    54. Set label = tooltip.getChildObjectAt( i )
    55. text = label.getText()
    56. ‘ get the expected value
    57. checkText = textArray( i )
    58. ‘ verify the text
    59. if( text checkText ) then
    60. errorString = “Expected label “+ CStr(i) + ” to be ” + checkText + ” actual value was ” + text
    61. Reporter.ReportEvent micFail,”PopupTooltip”, errorString
    62. Else
    63. passString = “Label “+ CStr(i) + ” actual expected value ” + text
    64. Reporter.ReportEvent micPass,”PopupTooltip”, passString
    65. End if
    66. Next
    67. Else
    68. Reporter.ReportEvent micFail,”PopupTooltip”, “No tooltip visible.”
    69. end if
    70. ‘ perform mouse exited to clear the tooltip
    71. buttonObj.simulateMouseExited

    Q 3: How to write the script for menu items using QTP8.2
    Ans: below example

    1. Set textFieldObj = Browser(“Welcome To Nexaweb”).Page(“Welcome To Nexaweb”).JavaApplet(“DefaultJvmDetector”).JavaObject(“TextField”).Object.getScriptObject()
    2. Set menuBarObj = Browser(“Welcome To Nexaweb”).Page(“Welcome To Nexaweb”).JavaApplet(“DefaultJvmDetector”).JavaObject(“MenuBar”).Object.getScriptObject()
    3. itemCount = menuBarObj.getMenuBarItemCount()
    4. ‘verify the menu item text
    5. if( itemCount 5 ) then
    6. Reporter.ReportEvent micFail,”Menu Bar”, “Expected menu count to be 5. Acutal was “+ Cstr( itemCount )
    7. else
    8. Reporter.ReportEvent micPass,”Menu Bar”, “Got Expected menu count of “+ Cstr( itemCount )
    9. End if
    10.
    11. ‘ get the first menu
    12. Set menuObj = menuBarObj.getMenuBarItemAt( 0 )
    13. ‘verify the menu text
    14. text = menuObj.getText()
    15. if( text “Menu 1″ ) then
    16. Reporter.ReportEvent micFail,”MenuText”, “Expected text ‘Menu 1′. Acutal was “+text
    17. else
    18. Reporter.ReportEvent micPass,”Menu Text”, “Got Expected text “+text
    19. End if
    20. ‘ select the menu
    21. Set popupMenu = menuObj.select()
    22. ‘ get the first menu item of the popup
    23. Set menuItemObj = popupMenu.getMenuItemAt( 0 )
    24. ‘verify the menu item text
    25. text = menuItemObj.getText()
    26. if( text “Menu 1 MenuItem 1″ ) then
    27. Reporter.ReportEvent micFail,”Menu Item Text”, “Expected text ‘Menu 1 MenuItem 1′. Acutal was “+text
    28. else
    29. Reporter.ReportEvent micPass,”Menu Item Text”, “Got Expected text “+text
    30. End if
    31. ‘ select the menu item to fire its onCommand
    32. menuItemObj.select
    33. ‘verify the text field was set correctly
    34. text = textFieldObj.getText()
    35. if( text “Menu 1 MenuItem 1″) then
    36. Reporter.ReportEvent micFail,”TextField Text”, “Expected text ‘Menu 1 MenuItem 1′. Acutal was “+text
    37. else
    38. Reporter.ReportEvent micPass,”TextField Text”, “Got Expected text “+text
    39. End if
    40. ‘ reselect the first menu
    41. Set popupMenu = menuObj.select()
    42. ‘ get the second menu item
    43. Set menuItemObj = popupMenu.getMenuitemAt( 2 )
    44. ‘verify the menu item text
    45. text = menuItemObj.getText()
    46. if( text “Menu 1 MenuItem 2″ ) then
    47. Reporter.ReportEvent micFail,”Menu Item Text”, “Expected text ‘Menu 1 MenuItem 1′. Acutal was “+text
    48. else
    49. Reporter.ReportEvent micPass,”Menu Item Text”, “Got Expected text “+text
    50. End if
    51. ‘ select the menu item to fire its onCommand
    52. menuItemObj.select
    53. ‘verify the text field was set correctly
    54. text = textFieldObj.getText()
    55. if( text “Menu 1 MenuItem 2″) then
    56. Reporter.ReportEvent micFail,”TextField Text”, “Expected text ”Menu 1 MenuItem 2′. Acutal was “+text
    57. else
    58. Reporter.ReportEvent micPass,”TextField Text”, “Got Expected text “+text
    59. End if
    60. ‘ get the third menu item (second menu item is a separator)
    61. Set menuObj = menuBarObj.getMenuBarItemAt( 2 )
    62. ‘verify the menu text
    63. text = menuObj.getText()
    64. if( text “Menu 2″ ) then
    65. Reporter.ReportEvent micFail,”MenuText”, “Expected text ‘Menu 2′. Acutal was “+text
    66. else
    67. Reporter.ReportEvent micPass,”Menu Text”, “Got Expected text “+text
    68. End if
    69. ‘ select the second menu
    70. Set popupMenu = menuObj.select()
    71. ‘ select the second menu item which is a submenu
    72. Set subMenuObj = popupMenu.getMenuItemAt( 1 )
    73. Set subPopupMenu = subMenuObj.select()
    74. ‘ select the menu item of the sub menu
    75. Set menuItemObj = subPopupMenu.getMenuItemAt( 0 )
    76. menuItemObj.select
    78. ‘verify the text field was set correctly
    79. text = textFieldObj.getText()
    80. if( text “Menu2 SubMenu MenuItem”) then
    81. Reporter.ReportEvent micFail,”TextField Text”, “Expected text ‘Menu2 SubMenu MenuItem’. Acutal was “+text
    82. else
    83. Reporter.ReportEvent micPass,”TextField Text”, “Got Expected text “+text
    84. End if
    85. ‘ select the fourth item of the menu bar (the third is a separator)
    86. Set menuObj = menuBarObj.getMenuBarItemAt( 4 )
    89. Set popupMenu = menuObj.select()
    90. ‘ select the checkbox menu item
    91. Set menuItemObj = popupMenu.getMenuitemAt( 1 )
    92. menuItemObj.select
    93. ‘verify the text field was set correctly
    94. text = textFieldObj.getText()
    95. if( text “CheckBox MenuItem State true”) then
    96. Reporter.ReportEvent micFail,”TextField Text”, “Expected text ‘CheckBox MenuItem State true’. Acutal was “+text
    97. else
    98. Reporter.ReportEvent micPass,”TextField Text”, “Got Expected text “+text
    99. End if
    100. Set popupMenu = menuObj.select()
    111. Set menuItemObj = popupMenu.getMenuitemAt( 1 )
    112. menuItemObj.select
    113. ‘verify the text field was set correctly
    114. text = textFieldObj.getText()
    115. if( text “CheckBox MenuItem State false”) then
    116. Reporter.ReportEvent micFail,”TextField Text”, “Expected text ‘CheckBox MenuItem State false’. Acutal was “+text
    117. else
    118. Reporter.ReportEvent micPass,”TextField Text”, “Got Expected text “+text
    119. End if

    Comment by kuldeep | January 9, 2008 | Reply

  45. Hey, Just going through the demo in QTP. Ready to buy licenses but am having trouble getting answers from Mercury. Not the best customer service, at least pre-sales.

    Can you tell me if there is a way to take an Output Value, taken from a page and copied into the table, and use this number in a next action?

    The first half of my work is inputting data, then I have to take a reference number generated and enter it into a different system (both web based interfaces). Haven’t figured how to use the newly created table entries as a parameterized value in next action.

    Comment by Ddan | January 15, 2008 | Reply

  46. While I’m here. Is there no way to simulate a little load testing with QTP? I assume they want you to buy another software package for this purpose…

    Comment by Ddan | January 15, 2008 | Reply

  47. I have created one recovery scenario for the outlook pop up window which appers when try to send message through QTP scripting,But this scenario is not working.

    Please give me the idea

    Comment by Avind | January 17, 2008 | Reply

  48. Hi Kuldeep,
    This site is very good and you have given so much information about testing.Now i am trying for a job in testing.I have some doubts in QTP.How to test a date field in QTP?Please reply me back to my mail id.
    Thank you very much

    Comment by siva | January 17, 2008 | Reply

  49. Hi, Can u give some interview questions in QualityCenter

    Comment by sara | January 17, 2008 | Reply

  50. hi guys

    what is a frame work in test automation perspective ?
    how many types of frame works are there ?
    which type of frame work is better in QTP ?
    Which frame work is better to use to automate a web based application by using QTP 8.2 ?

    i am expecting a good answer from you as soon as possible
    plz reply to these with suitable answers for all my queries.

    yours
    satheesh

    Comment by SATHEESH | January 18, 2008 | Reply

  51. Hi Kuldeep,

    We are testing a Delphi application through Winrunner 8.2,we have a issue like we try to retrieve the value from the Delphi grid, if there is any value reflected

    in the grid then no issue, if the grid is empty then while retrieving the value using tbl_get_cell_data it through a pop up “Winrunner “General Error””.

    Thanks and Regards,

    Al Yasmin,

    Comment by Al Yasmin | January 18, 2008 | Reply

  52. Hi Kuldeep,

    We are planning to give cste exam,can you share any information about the preparation and the material.

    Thank You,
    Mary

    Comment by Mary | January 18, 2008 | Reply

  53. please give realtime script model of automations qtp
    areu write discriptive program

    Comment by srinivasarao | January 21, 2008 | Reply

  54. Hi,

    In my application I have a tree view structured data. For example we have 10 nodes under each node we have so many sub nodes. Also, under this subnodes i have some more nodes. This expansion depends on the data we give. But the major parent 10 nodes are identified as wintreeview.

    QTP was able to identify the parent node but unable to identify the subnodes. When tried spying the nodes and subnodes the properties and the values are seem to be same. I couldnt find any difference between it.

    Is there any way to identify the subnodes. Have anybody come across as like this if so, let me know how you tried to rectify it.

    Comment by Praveen | January 21, 2008 | Reply

  55. Hi Kuldeep,
    Read your blog.. I found it of a great help to me.
    I need your help in learning QTP and clearing ISTQB exam.
    I am learning QTP bt have many issues. Also,I have certain topics like statement coverage and branch coverage for if and while loops.
    I am staying and working in gurgaon as a testing engineer.I want expertise in QTP. I only have some basic knowledge. Please tell me how to contact u regarding thins..through emails or phone?
    Hope you can help me.
    Thanks

    Comment by Poonam | January 28, 2008 | Reply

  56. hi kuldeep,
    i want to know whether qtp can be used for mobile testing.if not then which tool is used. and what is the max no of values we can enter for parametarisation in the data table. is there any difference b\w data pool and parametarisation. . .

    Comment by priyesh | January 29, 2008 | Reply

  57. Hi Kuldeep sir, i recently visited this site, its really good

    i have some problem with Mercury Winrunner 8.2

    The problem is

    . We have an application running in IE. We use winrunner 8.2 , but it is not recognizing the application window.
    It recognizes as Class : object, MSW_CLASS : mic_unknown_class.
    which we believe should be recognized as Class: Window and MSW_CLASS : html_frame.

    This happens only to the application IE window. When we try to recognize a normal website (like google), it perfectly identifies as
    Class: Window and MSW_CLASS : html_frame.

    We have tried workarounds, like starting winrunner first and then the application. Also, we have loaded web-test add-in.

    OS : Windows XP SP2,
    IE : V6.0 SP2

    Note: Same application can be recognized in Winrunner 7.5

    Thabks&regards
    subbu

    Comment by Subbu | January 31, 2008 | Reply

  58. hi,
    i want to ask u about “how to add a checkboxes checkpoint, ie about checking on a web page for all the checkboxes”

    thanks

    Comment by bharati | February 1, 2008 | Reply

  59. Hello Kuldeep

    I am learning QTP.Can you please answer to my following queries:

    a) DIfference between QTP8.2 and QTP9.2
    b) How can a user handle exceptions in QTP.

    i really appreciate your efforts if you help me.
    Thanks in advance…

    Best Regards
    Mannat

    Comment by Mannat | February 4, 2008 | Reply

  60. Hi Kuldeep,
    Please tell me how to capture the timeout value of an application using QTP?
    Poonam

    Comment by Poonam | February 5, 2008 | Reply

  61. Please tell me how to recognize the colors using QTP. is there any options are there or we need to use any functions??

    Please send me the answer to my mail ID.

    reply to me for any clarification…

    Thanks,
    Chinni

    Comment by Chinni | February 6, 2008 | Reply

  62. Hi Kuldeep,

    No doubt this is superb site for people who are working on QTP.
    I have one issue, i have to execute test scripts in batch and write the result in excel sheet, just pass and fail for each scrip.

    Can u help me for the same.
    And also how to save result file in qtp.

    Thanks

    Comment by Archana | February 8, 2008 | Reply

  63. i want correlation in loadrunner

    Comment by naren | February 20, 2008 | Reply

  64. Hello Kuldeep, I an Junior Software Tester.
    I am very new to LoadRunner and Performance Testing.
    I want to know brief about Analysis section of LoadRunner. Excatly how we can proceed , which factors to be considered and how to report these analyzed factors.

    Can you help me for this.

    Thanking you.

    Comment by Chetan | February 28, 2008 | Reply

  65. Hi,
    How to get ToolTip Text from each cell on a page. If this particular page has a JavaTable. I have gone through the ToolTip script given by you on this website but I was not able to interpret it and make it work for my application.
    I would surely like to add a comment, this is a very good website. I liked your advanced QTP scripts . The code interpretation is very finely done.

    Comment by Mona | February 28, 2008 | Reply

  66. Hi All,

    Our sistuation : We have Test complete as of now and planning to move to Dotnet Technology, and thinking about buying QTP for the same(Cost is not a factor , but time is).I find its time consuming to automate using TestComplete on the delphi system.

    I would appreciate if you can clarify the following queries:

    1) Is QTP the best automation tool and easy to use on Dotnet based application?

    2) Does QTP have a Delphi Add in to recognize Delphi based application.
    Or do we need to restrict to winrunner for automating delphi based system.

    Regards,
    Thejaswee

    Comment by Thejaswee | March 13, 2008 | Reply

  67. Hello sir,
    Window(“Login”).WinObject(“komathi”).Type “komathi”
    Window(“Login”).WinObject(“komathi”).Type micTab
    Window(“Login”).WinObject(“divya”).Type “divya”
    Window(“Login”).WinObject(“divya”).Type micTab
    Window(“Login”).WinObject(“Admin”).Type micDwn
    Window(“Login”).WinObject(“Admin”).Type micTab
    Window(“Login”).WinObject(“Submit”).Type micReturn
    Window(“Cine & TV Dancer’s and”).WinMenu(“Menu”).Select “Exit”

    This is the Script i generated for my Login Window. While running the Script i got error message like this.
    “Cannot identify the object “komathi” (of class WinObject). Verify that this object’s properties match an object currently displayed in your application”.
    But when im running the Login window for the Flight reservation is working fine.

    Platform of my project is: VB.Net with Ms-SQL
    ANything i want to Install for this im using QTP 8.2 version. Please help me.im waiting 4 ur valuable reply. If possible send ur suggestion to my Mail ID which i have mentioned Above

    Thanx in advance
    savitha

    Comment by savitha | March 14, 2008 | Reply

    • Hi Savitha,

      You need to select the vb add-in that appears in the add-in manager when you launch qtp. Because your project had developed in vb.net. Please chek it up an d let me know. I hope its should get executed.

      Regards,
      Chaitanya.

      Comment by Chaitanya | June 23, 2009 | Reply

  68. Hi Kuldeep,

    How can we do email verification.

    I want to check Email Subject line, From address,

    and the content of the email……..

    Comment by Kiran | March 18, 2008 | Reply

  69. Hi Kuldeep and Rakesh,
    First of all thanks a million you people are doing a marvelous
    job thanks for spreading your knowledge.
    My suggestion/request for u pple is to start a page in ur blog where u pple answer the queries of all the pple coz through this we can gain lots of knowledge n learn different topics.

    And also i have a Query plz answer this

    I have four actions in my test script namely
    Action1,Action2,Action3 and Action4
    when i run the test script all the 4 Actions are executed but i want only Action1 and Action3 to be executed.
    Eagerly waiting for ur reply.
    Thanks alot…

    Comment by Sheshadri | March 25, 2008 | Reply

  70. Hi Kuldeep and Rakesh,

    Very nice information here.On that basic lot of QTP-DP queries are clear..

    Comment by Achyut | April 25, 2008 | Reply

  71. I am working on .net web application, In the User Module, we have a grid, displays all users of application.

    Pagination is implemented to the grid and each page has 10 users.

    I want to write a script to find a user in the grid(in any page) and delete/edit information.?

    How to implement this functionality?

    Comment by navitha | May 16, 2008 | Reply

  72. How to verify (Code) for the changing page navigation links?

    e.g. –>
    Navigation link now —-page 1
    Navigation link later —-page 1 2 3 4

    How to jump to the specific page when it is dynamically changing?

    Comment by Rahul_Test77 | May 28, 2008 | Reply

  73. hi kuldeep
    nice working on qtp script
    really it is useful for all
    canu tell me the qtpscript for this
    write the script for the web link to check whether it is broken link or not

    Comment by supriya | June 12, 2008 | Reply

  74. Your blog is very good-looking and informative!
    Cool work! :)

    Comment by QTP (QuickTest Professional) | June 18, 2008 | Reply

  75. Hi,

    I am into functional testing (Silktest) but would like to learn Load Testing.

    I would appreciate if you could help me in this endeavour.

    Regards,

    Rahul

    Comment by rahul | July 14, 2008 | Reply

  76. 1.How to compare two pdf files in qtp?

    2.I have charts displayed in an webarea within an image in a web page.I am not able to uniquely identify the 2 webareas ,how do i verify the charts?

    Comment by Nitya | July 29, 2008 | Reply

  77. hi kuldeep,
    can u provide ans for qtp qtns pls which u have given

    Comment by hema | August 8, 2008 | Reply

  78. How to upload screenshot of corresponding bugs in client bug tracking tool through QTP. Example i have 20 bugs and some bugs is having screenshot some not one by one i have to uploads sceenshot through QTP.

    Please do needful for the same

    Comment by Parul | August 11, 2008 | Reply

  79. How to upload sceenshot of the corresponding bugs

    Please do needful for the same

    Regards,
    Parul

    Comment by Parul | August 11, 2008 | Reply

  80. Hai to all,

    This is vamsi working as a s/w engr in Hyd.

    This web site is excellent.It is very useful for testing people.

    Regards,
    Vamsi,
    vamsi.ekrishna@gmail.com

    Comment by Vamsi | August 12, 2008 | Reply

  81. hi
    u r answers r very useful …thanks a lot

    i have on query..

    can u explain me about data driver frame work in detail…

    Comment by srinivas | August 13, 2008 | Reply

  82. my script is not running its showing an error message message
    “Some browsers will not display this page unless the response status code is 200″

    for login action its runnning perfectly fine but for some module its displaying the error.Will you please help me to solve this issue and as per my knowledge script is pefectly fine as i executed the same script before without any issue,there must be some Load runner setting issue.

    Comment by Vidisha | August 18, 2008 | Reply

  83. Dear Sir,

    My application run from desktop .exe file but QTP does not usderstand and it generates an error.

    I need your help…..

    deven

    Comment by Deven | September 4, 2008 | Reply

  84. hi,
    I really liked this site.I am facing an issue for quite sometime now.I am trying to automate Siebel 7.5 using QTP 9.5.The problem is that I am not being able to run a script as the MVGs and picklista re not opening.The issue is that if I open Qtp before Siebel these controls hang.I wanted to know how I can write a code for invoking these mvgs and picklists without having open it by clicking on the Siebel buttons.

    Comment by Jyoti | September 11, 2008 | Reply

  85. Thanks a lot Sharma brothers. u hav reflected the real time concept in the web site.

    But i hav a doubt in QTP 9.0 which i am using.
    i am unable to write a script for loading an object repository file(like login.tsr). first i am creating a .tsr file using repository manager, but unable to load through scripting.

    Pls don’t neglect this issue. try to send me a batter script regarding this problem

    Prasad

    Comment by prasad | September 18, 2008 | Reply

  86. How to verify (Code) for the changing page navigation links?

    e.g. –>
    Navigation link now —-page 1
    Navigation link later —-page 1 2 3 4

    How to jump to the specific page when it is dynamically changing?

    Comment by Abhay | September 20, 2008 | Reply

  87. Can we automate MS Office Smart Tags using QTP?
    will QTP identify the Smart Tag Icon ? if so how?

    Comment by Bhuvana | October 16, 2008 | Reply

  88. Hi Kuldeep,

    I have gone through the site… It sounds interesting and helpful to work in descriptive programming in QTP.
    I just started working on QTP,So I want your help here.

    My question is “How to deal with radio buttons?”.

    Scenario: I have two radio button “Yes” and “No” on the page.
    When I add them in Object Repository,it takes single radio button only. When add “Yes” radio button,it adds with the index value 1 and when add “No’ radio button,it replaces “Yes” radio button and changes its value to 2.

    Please suggest how to deal with webradiogroup object

    Comment by Aniruddha Yenaskar | October 17, 2008 | Reply

  89. ‘————————————————————–

    Cmd.activeconnection=”Provider=SQLOLEDB.1;Password=;Persist Security Info=True;User ID=sa;Initial Catalog=pubs;

    Dim res,cmd,sql
    Set Res=createobject(“adodb.recordset”)
    Set Cmd=createobject(“adodb.command”)
    Cmd.activeconnection=”Provider=SQLOLEDB.1;Password=;Persist Security Info=True;User ID=sa;Initial Catalog=pubs;Data Source=192.168.0.69″
    Cmd.CommandType = 1
    sql=”select emp_id,fname from dbo.employee”
    Cmd.CommandText = sql
    Set res = Cmd.Execute()
    i=1

    While not res.eof
    logid = res(“emp_id”).value
    logname=res(“fname”).value
    print logid
    print logname
    i=i+1
    res.movenext
    wend
    Set res = nothing
    Set cmd.ActiveConnection = nothing
    Set Cmd= nothing

    ‘————————————————————–

    Set ExcelObj = CreateObject(“Excel.Application”)
    aatype=”F:\templet.xls”
    ExcelObj.Workbooks.Open(aatype)
    Set NewSheet = ExcelObj.Sheets.Item(2)
    Dim rs,sq,pkey
    set conn=createobject(“adodb.connection”)
    set rs=createobject(“adodb.recordset”)
    set rs1=createobject(“adodb.recordset”)
    conn.open= “Provider=OraOLEDB.Oracle.1;Password=*;Persist Security Info=True;User ID=*;SERVER=*;Data Source=*;DBQ=*;”
    sql=”select * from table”
    rs.open sql,conn
    i=1
    do while not rs.eof
    values1=rs(“pkey”)
    values2=rs(“name”)
    NewSheet.Cells(i+1,1).Value =values1
    NewSheet.Cells(i+1,2).Value =values2
    i=i+1
    rs.movenext
    Loop

    ‘————————————————————–

    ExcelObj.ActiveWorkbook.Saveas “F:\data.xls”
    ExcelObj.Quit
    Set ExcelObj = Nothing
    rs.close
    set rs=nothing
    conn.close
    set conn=nothing

    ‘————————————————————–

    Dim Excel,ExcelSheet
    Set Excelone=CreateObject(“Excel.Application”)
    Set ExcelSheet=CreateObject(“Excel.Sheet”)
    ExcelSheet.Application.visible=true
    ExcelSheet.ActiveSheet.Cells(1,1).value=1
    ExcelSheet.ActiveSheet.Cells(1,2).value=2
    ExcelSheet.ActiveSheet.Cells(1,3).value=3
    Excelone.Saveas “E:\tests.xls”
    Excelone.quit
    Set ExcelSheet=Nothing

    ‘————————————————————–

    Set fs=CreateObject(“excel.application”)
    fs.Visible=True
    Set excelbook=fs.Workbooks.Add
    Set excelsheet=excelbook.worksheets(1)
    excelsheet.cells(1,1)=”??”
    excelsheet.saveas “e:\1.xls”
    excelsheet.application.quit
    fs.Quit

    ‘————————————————————–

    set fs=createobject(“excel.application”)
    fs.visible=true
    set excbook=fs.workbooks.open(“f:\1.xls”)
    set excsheet=excbook.worksheet(1)
    excsheet.cells(1,1).value=”Test”
    excbook.save
    fs.quit

    ‘————————————————————–

    Dim qtApp ,pDefColl,pDef ,rtParams,rtParam
    Set qtApp = CreateObject(“QuickTest.Application”)
    qtApp.Launch
    qtApp.Visible = True
    qtApp.Open “C:\Test1″
    Set pDefColl = qtApp.Test.ParameterDefinitions
    cnt = pDefColl.Count
    Indx = 1
    While Indx <= cnt
    Set pDef = pDefColl.Item(Indx)
    Indx = Indx + 1
    Wend
    Set rtParams = pDefColl.GetParameters()
    Set rtParam = rtParams.Item(“InParam1″)
    rtParam.Value = “songfun”
    qtApp.Test.Run , True, rtParams
    MsgBox rtParams.Item(“OutParam1″).Value

    ‘————————————————————–

    Dim a,b,c
    Set a = createobject(“excel.application”)
    a.visible = true
    Set b = a.workbooks.add
    Set c = b.worksheets(1)
    c.cells(1,1) = “1″
    c.cells(1,2) = “2″
    c.cells(1,3) = “3″
    c.saveas “e:\testtwo.xls”
    c.application.quit
    a.quit

    ‘————————————————————–

    set fs=createobject(“excel.application”)
    fs.visible=true
    set excbook=fs.workbooks.open(“f:\1.xls”)
    set excsheet=excbook.worksheet(1)
    excsheet.cells(1,1).value=”Test1″
    excbook.save
    fs.quit

    ‘————————————————————–

    Set alapp=createobject(“Excel.Application”)
    alapp.application.visible=true
    Set xlbook=alapp.workbooks.open(“e:\test.xls”)
    Set xlSheet = xlBook.Worksheets(“Sheet1″)
    count1=datatable.GetSheet(“Action1″).getrowcount
    For i=1 to count1
    alapp.cells(i,1)= datatable.GetSheet(“Action1″).getparameter(“Test1″).valuebyrow(i)
    Next
    xlSheet.saveas “e:\1.xls”
    alapp.quit
    Set excel=nothing

    Comment by Kuldeep | December 25, 2008 | Reply

  90. hi,
    when i records application web/windows for both it generates Script but , Active Screen is not displaying

    what is the problem can u pls explan it ?

    Comment by Amit | February 25, 2009 | Reply

  91. I would like to know about implement regular expression for window title which get to change every time with clicking on hyperlink displays new text on the title bar) and numeric value appearing on that hyperlink [inbox(6)]. What changes should be implemented in Expert View as well as Object Repository. Example:: Recording login process into yahoo.com till the opening of three to Four e-mails.
    Implemented regular impression in Object repository and trying to run but every time run time error is appearing.
    (alkaa.dugaal@gmail.com)

    Comment by Suketu | March 14, 2009 | Reply

  92. It is really technically wonderful & helpful site .
    Will please please put detailed Explanation of “Configuration Management “?

    Comment by Vacha | March 21, 2009 | Reply

  93. I want to create my own reports using descriptive programming. or want to change the formatting of the reports published through Reporter.ReportEvent.
    How can i do that please guide.

    Comment by Lucky | April 13, 2009 | Reply

  94. Hi Kuldeep,
    I don’t have much exposer on QTP but really ur sites sounds good for me. Could you please help me by resolving my few doubts:
    1. Can we use QTP tool for performance testing
    2. How can we do performance testing of Flex application using QTP.
    3. I am able to get interact with flex app using qtp but won’t understand how do Ianalyse performance parameters of an flex app for performance testing.

    Kindly reply me ASAP as I need urgently.
    Looking fwd for ur reply…….

    Comment by Pradeep | April 21, 2009 | Reply

  95. Hi Kuldeep,
    I am new in QTP n don’t have much exposer in the same. But I want to do performance testing of Flex app using QTp. Could you please guide me how come I will be acheive this.

    Look fwd for ur reply.
    I need the solution urgently.

    Thanks
    Pradeep

    Comment by pradeep | April 22, 2009 | Reply

  96. Hi,

    Can you give me some real time examples.Where this low level recording and analog recording are used.

    Comment by Chaitanya | May 4, 2009 | Reply

  97. Hi Kuldeep,

    Actually i had gone through your site. Its really sounds good. But i have a question for you to ask. Is it possible to call from one vbs to another vbs.If so please send the code for the same.

    Regards,
    Chaitanya

    Comment by Chaitanya | June 22, 2009 | Reply


Leave a comment