Re: Not able to perform any action on excel.
Hi nidhi, In your task manager, try to kill all excel processes and retry your code. I some how see your code is not that accurate. Please watch my below video to know how to work with Excel File. How to work with Excel using QTP http://qtpftvideos.blogspot.in/2012/12/how-to-work-with-excel-using-qtp.html Thanks, Uday QTP / UFT Videos http://qtpftvideos.blogspot.com On Thursday, 22 January 2015 18:15:33 UTC+5:30, nids wrote: Hi, I got stuck to 1 problem,please help me to solve this. If I try to open an excelsheet using VB script code ,I am unable to open it. Below is the code. Set objExcel = CreateObject(Excel.Application) Set objWorkbook = objExcel.Workbooks.Open(C:\Test\Book1.xls) objExcel.Application.Visible = True objExcel.Workbooks.Add objExcel.Cells(1, 1).Value = Test value objExcel.ActiveWorkbook.Save C:\Test\Book1.xls objExcel.ActiveWorkbook.Close objExcel.Application.Quit But when I try to open it manually I am able to open it and also able to save the text in the workbook cell which I am unable to do currently,not even able to put any value in workbook cell. Thanks, Nidhi Sharma -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Getting Error as : object doesn't support this property or method
Hi Rajiv Joshi, The problem is, most of the cases, browser dont take title property. Try with name property Set LG_BRPG=Browser(name:=Login Page.*).Page(title:=Login Page.*) Put a wait statement after and watch the variable like LG_BRPG.exist. If it returns true, you are good and you will see your expected behavior. For QTP Videos, watch my blog at below location. Thanks, Uday QTP / UFT Videos http://qtpftvideos.blogspot.in On Tuesday, 17 February 2015 13:52:55 UTC+5:30, Rajiv Joshi wrote: Hi. Im getting error message as : Object doesn't support this property or method: 'LG_BRPG.WebObject' below are the details. Calling Login function : Function file: F:\CS1\Login.vbs Function Login(username,password) Set ie=createobject(internetexplorer.application) ie.visible=true ie.navigate https://*; wait(7) 'Browser(title:=Login Page.*).sync Set LG_BRPG=Browser(title:=Login Page.*).Page(title:=Login Page.*) LG_BRPG.WebObject(input name:=ctl00$Content1$txtUserName,html id:=ctl00_Content1_txtUserName).Set username LG_BRPG.WebObject(input name:=ctl00$Content1$txtPassword,html id:=ctl00_Content1_txtPassword).Set password LG_BRPG.WebButton(input name:=ctl00$Content1$btnLogin,html id:=ctl00_Content1_btnLogin).Click wait(3) End Function Error Line (12): LG_BRPG.WebObject(input name:=ctl00$Content1$txtUserName,html id:=ctl00_Content1_txtUserName).Set username. Please help me out in solving this issue. Regrads. Rajiv Joshi -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: WebEdit Object is diable
You can try the work around method by setting runtime property, like below B().P().Webedit().Object.innertext=Whatever value you want to provide 'if innertext didnt workout try some other property like name or value Try and let us know whether it works out or not. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Tuesday, 7 October 2014 20:17:25 UTC+5:30, Akhilesh Sinha wrote: Hello friends... I am trying to click on a WebEdit but getting popup like Object is disable. I have already tried ReplayType and fireeventonkeydown,onkeydown and Settoproperty disabled 0. Scenario is that our intelligent developers have set dropdown as WebEdit and that too diable.The arrow button is also webedit. In order to set any data I need to click on Arrow Webedit then select the record in dropdown. (fyi ... dev framework is dojo) But in IE 11 UFT 11.53 is clicking on WebEdit without any issue. Issue is with IE 8 9 10. Is there any way to click on disabled webedit. Guyzz...Please help Thanks Akhilesh K Sinha -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How conflict of two object repository will be resolved
Hi Udhay, There is a feature called Object Repository Merge Tool. By using it you can merge ORs. In QTP, goto Resources - Object Repository Manager - (In Object Repository Manager window) Click on Tools menu - Object Repository Merge Tool. You can get the help from QTP help files. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Saturday, 16 August 2014 20:45:56 UTC+5:30, udhaya kumar wrote: Hi, We two people are working in the same application for automating regression test cases. User1: he will be changing object name and remove property for object uniqueness User 2: he is also does the same thing, When try to merge both the OR how we can resolve the conflicts and duplications Regards, Udhay -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: TEST RESULT FOLDER IN QTP
Hi Raghavendra, You can create a random number from the current time and below is the simple logic which is easily understandable. There might other options also, but below is easy to understand. str=replace(now,/,) 'replacing / with nothing str=replace(str,:,) 'replacing : with nothing str=replace(str, ,) 'replacingwith nothing str=mid(str,1,len(str)-2) 'Removing last two characters which is either AM or PM. print str Once you get this random number append to some folder like TempResults+str which will b unique now. You can give this folder to path and can have test results. Hope above helps. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Wednesday, 13 August 2014 13:12:06 UTC+5:30, rags wrote: I am Using Keyword driven framework using Functional level. In the Excel sheet m displaying only Pass r Fail. Now each time when i do enhancements run the script it will create TEST result folder in temp file. How to extract that file keep it in folder in organized way, like a folder should create with date week name in that it should display all the attempts i made. again nxt day folder shd create so on Does any body have the code r logic how to do it ? -- Thanks Warm Regards Raghavendra.k -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Simple if else condition not working
Hi Geeta, Did you get a chance to go through my video which i shared in my previous reply. Smart Identification is an alternative solution(actually it is an algorithm) that QTP follows when QTP unable to identify any objects in your application. If you configure Smart Identification properly then you can its advantage. If your case, the properties are not generic so this confusion. Please go through the video, it will help. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 8 August 2014 15:40:50 UTC+5:30, Automation tester wrote: Hi Uday, Gangadhara Rao, Anil... Thank you for all of your reply and valuable inputs. It finally works now by disabling the smart identification. Thanks a lot. few questions: 1. So we cannot use smart idetification at all? 2. During what situation we can use smart identification 3. just for my understanding,, what should be done if smart identification on , and else condition to be executed. Thank you once again. Regards, Geetha On Mon, Aug 4, 2014 at 11:14 PM, Anil Kumar V anilku...@gmail.com javascript: wrote: HI, Try this Browser(Site).Page(Site).WebEdit(userId).Set DataTable(username, dtGlobalSheet) Browser(Site).Page(Site).WebEdit(password).Set DataTable(password, dtGlobalSheet) Browser(Site).Page(Site).WebButton(Login).Click If Not Browser(Site).Page(Site_7).WebElement(Invalid username or password. Signon failed.).Exist(10) Then Browser(Site).Page(Site_7).WebElement(Invalid username or password. Signon failed.).Output CheckPoint(Invalid username or password. Signon failed._2) Browser(Site).Page(Site).Sync Browser(Site).Close Reporter.ReportEvent micFail,Login failed,Incorrect username and password Else Browser(Site).Page(Site_6).Link(Logout).Click Browser(Site).Page(Site).Sync Browser(Site).Close Reporter.ReportEvent micPass,WEbpage is seen,Pass End If Regards, Anil Kumar On Friday, July 18, 2014 2:00:58 PM UTC+5:30, Automation tester wrote: Hi, Below is the code .. Please correct me if I am wrong Browser(Site).Page(Site).WebEdit(userId).Set DataTable(username, dtGlobalSheet) Browser(Site).Page(Site).WebEdit(password).Set DataTable(password, dtGlobalSheet) Browser(Site).Page(Site).WebButton(Login).Click If Browser(Site).Page(Site_7).WebElement(Invalid username or password. Signon failed.).Exist Then Browser(Site).Page(Site_7).WebElement(Invalid username or password. Signon failed.).Output CheckPoint(Invalid username or password. Signon failed._2) Browser(Site).Page(Site).Sync Browser(Site).Close Reporter.ReportEvent micFail,Login failed,Incorrect username and password Else Browser(Site).Page(Site_6).Link(Logout).Click Browser(Site).Page(Site).Sync Browser(Site).Close Reporter.ReportEvent micPass,WEbpage is seen,Pass End If Regards, Geetha On Jul 18, 2014, at 11:43 AM, Geetha geetha...@gmail.com wrote: *This message has no content.* -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.com javascript: To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: QTP interview question
What do you mean by Processor Utilization? You can use QTP's Local System Monitor feature to work scenarios with Processor Utilization. Though it is rarely used. Thanks, Uday QTP / UFT Videso https://www.youtube.com/user/AnemUday/videos On Saturday, 19 July 2014 20:14:04 UTC+5:30, udhaya kumar wrote: Processor utilisation we can automate. Others are fine that we can not automate Regards, Udhay On 19 Jul 2014 19:59, Omkar omkar@gmail.com javascript: wrote: Below areas/cases are not suitable candidates for QTP Automation.. 1.Images 2.Audio video 3.Unstable application 4.Performance specific use cases : Processor utilization Also you can not Automation certain applications.if QTP does not have addins for them..e.g.XBAP application. Regards Omkar K On 19/07/2014 5:38 pm, Rajalaxmi Batula batula.r...@gmail.com javascript: wrote: Hi, Can anyone help to answer the below questions. 1.What are the areas that cannot be tested using an automation tool like QTP. 2.What kind of test cases cannot be automated using QTP. Appreciate your immediate help on this. With due Regards Rajalaxmi -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.com javascript: To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.com javascript: To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: QTP interview question
Rajyalakshmi, As many people said earlier, i am consolidating few but may be include others aswell. 1. Verification completely related to Dynamic nature (Stock quotes displayed in some sites, these values vary each second). 2. Mutlimedia content validation like Audio Video. 3. Limitation of not able to run scripts in other OSs like Unix, Mac(which is supported in Selenium) 4. Compatibility cases like running cases on different browsers like Safari, Opera. 5. No parallel script execution(which is supported in Selenium) 6. Advanced Technologies where there is no QTP support Yet.(Many new tech are coming frequenty. But HP will take time to provide support for those tech by developing Add-Ins or support. You need to wait until they provide support). I hope the above helps. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Tuesday, 5 August 2014 13:34:08 UTC+5:30, Gangadhara Rao wrote: Hi Rajalaxmi , 1) We cannot automate for checking Audio/Video checking. 2) Unstable application 3) Where objects not identified even after installing Suitable Addins. 4) Console Applications. 5) Flash based apps (i guess) 6) Performance/Load Testing of the app (For Performance testing SilkPerformer and other opensource toosl are present) Hope this helps, Gangadhar. *http://www.indiumsoft.com/core-qa-offerings/test-automation http://www.indiumsoft.com/core-qa-offerings/test-automation* -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Reverse string - without Vb functions
Hi Naga, As per the pattern, it will get only single character. The character-set for consideration are a-z, A-Z, 0-9. So it consider only these sets. Execute statement evaluates this expression and in the for loop, it gets single char. and the logic goes like this: Initially result=null, In the first iteration u will get single character, that is r. This char is appended to result. So result=r In the next iteration u will get next character, that is a. This char is appended to result. So result=ar In the next iteration u will get next char, that is v. This char is appended to result, So result=var In last iteration you will get i which is appended to result. So result will become ivar Hope the above helps. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 25 July 2014 21:01:03 UTC+5:30, Naga Ganjala wrote: Dim yourstr,r,letter,result yourstr=ravi Set r=new regexp r.pattern=[a-z 0-9 A-Z] r.global=true set s=r.execute(yourstr) For each i in s result= i.valueresult Next Can u pls any one explain this logic -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Best way to read excel cell cont
Hi Udhay, For reading writing content into Excel files, please find below video: https://www.youtube.com/watch?v=HQCk2i-NxEglist=UUlhOWNkHdfTzs-LskQDt1Bw For your 2nd question, is there a specific implementation you are looking. What kind of performance issues you see if you use rowcount or columncount functions? Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Monday, 28 July 2014 16:26:03 UTC+5:30, udhaya kumar wrote: Hi All, what is the best way to write function for reading value from excel column cell. Instead of using *rowcount* and *columncount*, any other way to read cell value without affecting the performance of the excel application. [image: Inline image 1] Regards, Udhay -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Simple if else condition not working
Hi Geetha, To overcome your problem first you disable Smart Identification. Change Smart Identification to false. Then as per your Smart Identification you have provided, observe it tries to identify the object with micclass and html tag and it able to identify the object uniquely. So it was able to get the object and not going to else condition. If you disable smart identification, then it will tries to find object with micclass, html tag and innertext. Since innertext is not there, definitely it will go to Else condition. For basic level understanding about Smart Identification, refer the following video: https://www.youtube.com/watch?v=utXWIFAoKJMlist=UUlhOWNkHdfTzs-LskQDt1Bw Thanks, Uday QTP / UFT Vidoes https://www.youtube.com/user/AnemUday/videos On Thursday, 24 July 2014 09:18:30 UTC+5:30, Automation tester wrote: Hi Uday, Thank you for your reply. Yes it is identified with text /value etc., Also smart identification enabled is set to True. Since the cases 3 and 4 doesn't go to else condition, the smart identification is report as object not found.. I am wondering why it doesn't go to else condition for the false cases. I have send the script in my first email ... Invalid username or password. Signon failed.- Smart Identification The smart identification mechanism was invoked. Reason: object not found. *Original description:* micclass=WebElement innertext=Invalid username or password. Signon failed. html tag=FONT *Smart Identification Alternative Description: * *Base filter properties (1 objects found) * micclass=WebElement html tag=FONT On Wed, Jul 23, 2014 at 5:47 PM, udayanem uday...@gmail.com javascript: wrote: Hi Geeta, Can you please check the object description in your OR? Whether it is being identified with Smart Identification or it identified with some name/text/value property? Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 18 July 2014 14:00:58 UTC+5:30, Automation tester wrote: Hi, Below is the code .. Please correct me if I am wrong Browser(Site).Page(Site).WebEdit(userId).Set DataTable(username, dtGlobalSheet) Browser(Site).Page(Site).WebEdit(password).Set DataTable(password, dtGlobalSheet) Browser(Site).Page(Site).WebButton(Login).Click If Browser(Site).Page(Site_7).WebElement(Invalid username or password. Signon failed.).Exist Then Browser(Site).Page(Site_7).WebElement(Invalid username or password. Signon failed.).Output CheckPoint(Invalid username or password. Signon failed._2) Browser(Site).Page(Site).Sync Browser(Site).Close Reporter.ReportEvent micFail,Login failed,Incorrect username and password Else Browser(Site).Page(Site_6).Link(Logout).Click Browser(Site).Page(Site).Sync Browser(Site).Close Reporter.ReportEvent micPass,WEbpage is seen,Pass End If Regards, Geetha On Jul 18, 2014, at 11:43 AM, Geetha geetha...@gmail.com wrote: *This message has no content.* -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.com javascript: To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Simple if else condition not working
Hi Geeta, Can you please check the object description in your OR? Whether it is being identified with Smart Identification or it identified with some name/text/value property? Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 18 July 2014 14:00:58 UTC+5:30, Automation tester wrote: Hi, Below is the code .. Please correct me if I am wrong Browser(Site).Page(Site).WebEdit(userId).Set DataTable(username, dtGlobalSheet) Browser(Site).Page(Site).WebEdit(password).Set DataTable(password, dtGlobalSheet) Browser(Site).Page(Site).WebButton(Login).Click If Browser(Site).Page(Site_7).WebElement(Invalid username or password. Signon failed.).Exist Then Browser(Site).Page(Site_7).WebElement(Invalid username or password. Signon failed.).Output CheckPoint(Invalid username or password. Signon failed._2) Browser(Site).Page(Site).Sync Browser(Site).Close Reporter.ReportEvent micFail,Login failed,Incorrect username and password Else Browser(Site).Page(Site_6).Link(Logout).Click Browser(Site).Page(Site).Sync Browser(Site).Close Reporter.ReportEvent micPass,WEbpage is seen,Pass End If Regards, Geetha On Jul 18, 2014, at 11:43 AM, Geetha geetha...@gmail.com javascript: wrote: *This message has no content.* -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Getting invalid attribute/option identifier error when logged in to Fight sample aaplication on windows 8.1 and QTP12
Hi Swapnil, Did you tried manually opening Flight Reservation application and is it working fine? Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 11 July 2014 16:23:22 UTC+5:30, Swapnil Tandle wrote: Hi Any body faced this kind of problem when i launched flight reservation application it prompts login screen when looged in using admin/Mercury it is giving Erorr : Getting invalid attribute/option identifier error when logged in to Fight sample aaplication on windows 8.1 and QTP12 and the next screen does not have the drop down values these all are blank for order details Can any help me out of this Thanks, Swapnil -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Handle multiple rows in recordset for ms access db.
Hi Vishal, Try below code: Dim conOb Set conObj=createobject(ADODB.Connection) conObj.open driver=XX; etc... 'You can find the right connection stings for the DB at this location: http://www.connectionstrings.com/ Set ResultSet=conObj.Execute(select * from YourTableName) While not ResultSet.EOF stdname=ResultSet(your filed name) 'stdname=ResultSet(your filed name).value //both the statement yield the same results print stdname msgbox(stdname) ResultSet.movenext Wend Please let me know if the above doent help. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Thursday, 10 July 2014 11:27:54 UTC+5:30, Vishal wrote: Hi, Can anyone suggest me that how we can handle multiple rows in recordset? Currently I am getting multiple rows as a query result and get value from each row one by one. how to do that? I am using MS Access db as a data source. Awaiting for help. Thanks, Vishal -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Mozila Firefox DOM OBJECT
Hi, You cannot create firefox instance as easy as do with CreateObject. Can you please google for activex component for firefox and chrome Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Wednesday, 9 July 2014 23:06:42 UTC+5:30, dcr wrote: Hello, Please share if you know the dom object for mozila firefox? And Google chrome? For internet explore have dom object like createobjectinternetexplore.application) Regards, Byzoor, -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Unable to identify the object New in hotmail to send email
The problem might be with reidentification of the same object. I am thinking u r fisrt assigning New button object say obj=b().p().wb(). clicking on New button(where qtp identifies New button) obj.click Doing something and click on Cancel.(Here observe the same page is getting refreshed). Now trying to click New button which was assigned earlier(obj.click) If above is the case, it cannot identify with obj as the page is refreshed. To overcome this, you need to reidentify the same object by below step. obj.RefreshObject or obj.Init and then obj.click Please let me know if the above helps. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 4 July 2014 12:00:24 UTC+5:30, Rajkumar SM wrote: Unable to identify the object New in hotmail to send email. Veryfirst time, it is identifying and able to open a new mail. Once clicking on Cancel and coming back, OR is not identifying the same. Using QTP 10, IE8 Please help me. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Compare two datatables with similar data in qtp
Watch the below video to know how to get a cell value from DataTable: https://www.youtube.com/watch?v=jJW6qSXezY0list=UUlhOWNkHdfTzs-LskQDt1Bw then, use instr function to know wheter the 1st string exists in 2nd sting like if instr(1,String2,String1)0 then print Exists else print does not exist end if Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Monday, 30 June 2014 14:07:49 UTC+5:30, neptu...@gmail.com wrote: Hello~! I want to compare actually two factors in same datasheet in QTP. Factor A is like 1600X 900and it is located at global table (1,A) Facrot B is like 1600x900, 2011/01, SEC_, 15 inch S24C450, 1920x1080, 2014/02, SAM_HTMF200052, 24 inch and it's located at global table(1,B) I * want to compare A and B and find out if FactorB includes FactorA* please give me answer Thanks -John- -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Can i use same hybrid framework for mobile automation testing?
Hi, 1. It completely depends on how your hybrid framework is developed. Generally frameworks should be outerset for any type of application. But for that, we need to develop the framework in that way. 2. Perfecto mobile does not support QTP 10, you have to use UFT. 3. Yes you can use. Frameworks created in lower versions can be used with highter version of QTP until unless lower versionalities are not deprecated. The same is not true for vice versa, means frameworks developed for higher end may not work properly with lower version of QTP because if the framework contains high end features which may not exists in lower end version QTP. I hope above helps. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Sunday, 29 June 2014 05:45:53 UTC+5:30, AOne wrote: Hi , I am using hybrid framework for qtp automation. I am currently using qtp version 10, So i have couple of questions. 1) Can i use hybrid framework for mobile automation testing ? (perfacto) 2) Can i use Perfacto with qtp version 10 ?or it has to be UFT? 3) Can i use same hybrid framework which i have created on qtp version 10 and use it on UFT? Thanks -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Regarding UFT License
Hi, QTP editor will not come if you license expires. It shows a message saying License expired and QTP never opens up. Thanks, Uday *QTP / UFT Videos* https://www.youtube.com/user/AnemUday/videos On Saturday, 28 June 2014 15:40:43 UTC+5:30, Jyothi wrote: Dear Experts, My client purchased SAP Quality Center Premier 11.5 by HP - UFT 11.53 . Please help me out below questions 1) Did my client purchase UFT license or not? 2) I heard that Premier version of HP QC , having both licenses ALM UFT .Is it right? Thanks Regards, Jyothi K -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: hi
Rather simple way is: replace(05/05/2014,/,-) Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 20 June 2014 17:19:03 UTC+5:30, uma mahesh wrote: 05/05/2014 date format how to change 05-05-2014 on this format in use QTP -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to count total number of items in a folder
Hi Abhijit, View my video which might help in this regard. https://www.youtube.com/watch?v=40o3TtSGXCA Thanks Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Tuesday, 3 June 2014 15:14:08 UTC+5:30, Abhijit Biradar wrote: Hi All, Can any body tell me the logic to count total number of items (files / folders / any kind setup / zip file / image file etc.) in a folder using vbscript. Thanks in advance. Regards, Abhijit Biradar +91-7875563598 -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to automate database testing in qtp
Hi Abhijit, Please find the following simple example. Set objConnection=createobject(ADODB.Connection) Set objRecordSet=createobject(ADODB.RecordSet) strConnectionString=Server=AAA;Database=BBB;user id=;password=d 'Here i have give syntax for SQL Server; 'For various other Databases find the following Website for accurate connection strings http://www.connectionstrings.com/; objConnection.Open strConnectionString Set objRecordSet=objConnection.Execute(select * from employee) ' Your SQL Query Do while not objRecordSet.EOF print objRecordSet.Fields(EmpID).Value 'Here you can specify the field number also inplace of field name objRSTestCasesCol.MoveNext 'MoveNext points to the next record Loop Set objConnection=nothing Set objRecordSet=nothing Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Monday, 2 June 2014 12:41:43 UTC+5:30, Abhijit Biradar wrote: Hi All, Can any body tell me how to automate database testing in qtp. Thanks in advance. Regards, Abhijit Biradar +91-7875563598 -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: ssf.html.z files
If i am not wrong, it will create two extra files for every screenshot. If you dont want these extra files, you can configure by Tools - Options - General Section - Active Screen, Change to Minimum - If you want to save only Screenshot. None - If you dont want to save any Screenshot information, no files will be created. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Tuesday, 27 May 2014 17:43:40 UTC+5:30, L V Prasad wrote: Hi All, Recently i found that in a script SnapShots folder there are around 50+ of unwanted files got created not sure how these files got create, could any one know what these files are for. file name is like: ssf1.html.z ssf10.xml.z (ScriptName/Action1/SnapShots) Thank you, l v prasad. K -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Debug viewer
A bit more detailed information is here: Debug Viewer is used to debug the scripts, where you can find the value of variables. To know what value variable is holding, you have to run in debug mode or put a break point at the variable. Debug Viewer is having 3 tabs. *Watch*: where you can find the value of a variable of your interest. In your script you might have certain number of variables, but you want to know a specific variable. To view the value of a var. following are two approaches right click on the variable name in your script and then choose Add to watch, The other way is, in the name cell of Watch, double click on the cell and enter the variable name. During execution you can find the value of that var. *Variables*: All variables in your action are displayed with values. *Command*: You can set the value of a variable during run time using Command. For Ex. you are already in debugging, where the value of a var is having set some value, but you want to try with different value. Ex, during debug the value of x say 10, but you want to test with 20. During those scenarios when the debug pointer is at x, in command tab you enter x=20 and then click Enter. Then when you resume your debug the value of x now set to 20 during run time. I hope the above helps. If it is not clear, let me know. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Wednesday, 7 May 2014 16:19:22 UTC+5:30, aparnadharthi reddy wrote: Hi, Can any one explain Watch, Variable and Command tabs in Debug viewer with example. -- Regards Aparna -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to copy a text stream and paste it to a text field
Please find the correct code below: tdata = fnGetExcelData(mData) ' I am hoping this is your column name in Excel Sheet Browser().Page().WebEdit().set tdata Function fnGetExcelData(ColumnName) workbookPath=C:\Test\TestData.xls sSheetName= Environment.Value(TestName) ' Make sure your test name matches with the sheet name here dim sColValue fnGetExcelData = empty DataTable.AddSheet(dtDataSheet) DataTable.ImportSheet*,* workbookPath,sSheetName,dtDataSheet (It errors out here) ' I see problem here in your code. You have give ,, but give space after ImportSheet The syntax is: DataTable.ImportSheet FileName,SourceFileName/Index,DestinationSheetName/Index DataTable.SetCurrentRow 1 sColValue = DataTable.Value(ColumnName, dtDataSheet) fnGetExcelData = sColValue DataTable.DeleteSheet(dtDataSheet) End Function For your second approach, see below code: fileloc = C:\Test\TestData\hData.txt Set ofso = CreateObject(Scripting.FileSystemObject) Set ofile= ofso.OpenTextFile(fileloc, 1) tdata = ofile.ReadAll 'It reads the entire content of the File Browser().Page().WebEdit().set tdata Please let me know if it didnt solve your problem. Thanks, Uday QTP / UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 23 May 2014 23:39:10 UTC+5:30, SunCat wrote: I need to copy the content of a text file and paste it to a text area. I tried the following methods: 1. Using Excel Saving the text file as a parameter in one cell of an excel sheet and copying it to the data table at run time and pasting it to the text field. Then it comes with the error message DataTable.ImportSheet operation failed. Invalid file Following is the code I tried for this method. Test file. tdata = fnGetExcelData(mData) Browser().Page().WebEdit().set tdata Function fnGetExcelData(ColumnName) workbookPath=C:\Test\TestData.xls sSheetName= Environment.Value(TestName) dim sColValue fnGetExcelData = empty DataTable.AddSheet(dtDataSheet) DataTable.ImportSheet,workbookPath,sSheetName,dtDataSheet (It errors out here) DataTable.SetCurrentRow 1 sColValue = DataTable.Value(ColumnName, dtDataSheet) fnGetExcelData = sColValue DataTable.DeleteSheet(dtDataSheet) End Function 2. Using Filesystem Test file fileloc = C:\Test\TestData\hData.txt Set ofso = CreateObject(Scripting.FileSystemObject) Set ofile= ofso.OpenTextFile(fileloc, 1) Do while ofile.AtEndofStream True tdata = ofile.ReadLine() Browser().Page().WebEdit().set tdata Loop In this case the data gets overwritten by the next line and at the end only the last line of the file is there in the text area. So how do I go about this to get the whole text file to get copied to the text area in the web page. Thanks, SunCat -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Where can I find help for excel database automation
I have created a video earlier for Excel operations. In below video i have covered most of the Excel operations. https://www.youtube.com/watch?v=HQCk2i-NxEg Following video covers most of the Data Table operations: https://www.youtube.com/watch?v=jJW6qSXezY0 Thanks, Uday On Tuesday, 20 May 2014 13:25:46 UTC+5:30, uma mahesh wrote: refer to the below links. http://www.qtpworld.com/index.php?cid=44 http://quicktestprofessional.wordpress.com/2008/02/14/adodb-connection-to-read-data-from-excel-sheet/ You know what I got these links just by typing qtp excel object in google. Regards Mahesh On Tue, May 20, 2014 at 12:44 PM, Abhijit Biradar biradar...@gmail.comjavascript: wrote: Hi Darshan, Which msdn you are talking.?can you explain in detail. Regards, Abhijit Biradar +91-7875563598 On 20 May 2014 12:40, Darshan D darshand...@gmail.com javascript: wrote: you can get this info on MSDN. It contains all info about Excel object model, methods and properties. same for database. On Tuesday, May 20, 2014 1:02:07 AM UTC+5:30, Abhijit Biradar wrote: Hi Friends, I have question. I am using qtp 10.0. In Help menu, I didn't find any help or reference for excel database automation. Can anyone tell me where can I get all list of methods for excel database automation. Sorry for typo mistakes. Thanks in advance. Regards, Abhijit Biradar +91-7875563598 -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.comjavascript: To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.comjavascript: To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to identify which methods required braces
Hi Abhijit, Please find my below Youtube Video where i have covered when to use braces and what effect it have. https://www.youtube.com/watch?v=t5pOAwQkDj4 Let me know if you have any queries. Thanks, Uday On Monday, 19 May 2014 11:55:00 UTC+5:30, Abhijit Biradar wrote: Hi, I have a basic question. In most of the oop's language method signature is like below. Eg. MethodName () But, in vbscript for some method we use braces for some we don't use. Same is the case with properties also. So, how can we remember which method properties require braces which are not. Is there any logic to remember. Sorry for typo mistakes. Thanks in advance. Regards, Abhijit Biradar +91-7875563598 -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Unable to select value from weblist:- Error :=cannot identify the specified item of the none object. Confirm that the specified item is included in the object's item collection
Hi Binny, I am suspecting, the page is refreshing before you perform the operation. The problem here is Object definition(say set obj1=some identification). Perform some operation using different obj. which refreshes the page. Now if you perform any operation like say obj1.somemethod, it will say the object is not identifiable/exist. To overcome this problem you have to use RefreshObject before you perform the method/operation, which reidentifies the object again. obj1.RefreshObject obj1.somemethod Hope it helps. Thanks, Uday On Saturday, 1 February 2014 23:13:33 UTC+5:30, BINNY wrote: Hi All, I'm trying to select value from the weblist, but QTP throws the error that cannot identify the specified item of the none object. Confirm that the specified item is included in the object's item collection Here is the step that recorded with weblist value as PENDARTWB Browser(Welcome to PegaRULES).Page(ARTManager).Frame(PWGadget0Ifr).WebList(none).Select PENDARTWB The QTP is successfully able to identify the weblist object the only issue is that it is not able to select value from weblist. The strange thing is happening that if i change the select option and run the script from current step then QTP is able to select that option, but if i again restart the script fromthe begining then it shows the same error again.. I'm attaching the screenshot for OR and weblist object properties Thanks BNY -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: urgently help needed(interview question)It is also real time question.
Hi Siba, The property name is html tag and not htmltag, there is a space in between html and tag For Inbox link, you can use regular expression as name:=Inbox.*. Please let us know if the above two points help you. Thanks, Uday QTP Videos https://www.youtube.com/user/AnemUday/videos On Tuesday, 31 December 2013 18:47:55 UTC+5:30, Mishra Siba Prasad wrote: *Please observe the below code* *Systemutil.Run iexplore.exe,http://mail.google.com/mail/h/ http://mail.google.com/mail/h/handle=Browser(creationtime:=0).GetROProperty(hwnd)msgbox handleBrowser(hwnd:= handle).webedit(name:=Email).Set qtpwor...@gmail.com javascript:Browser(hwnd:= handle).webedit(name:=Passwd).Set qtpworld123$Browser(hwnd:= handle).webbutton(name:=Sign in).Clickinbox=Browser(Gmail - Inbox).Page(Gmail - Inbox).Link(Inbox (158)).GetROProperty(name)msgbox inbox* *inbox=browser(name:=Gmail - Inbox).Page(title:=Gmail - Inbox).Link(htmltag* *:=A,name:=Inbox (158)).GetROProperty(text)msgbox inbox* *The red color code is not working, because i am using descriptive programming. Can anybody help me where is the mistake.(At that time the inbox no is 158, u can change it)Q 2. Does hwnd property support link object(I fetched the problem using hwnd with Link object.* *Please answer it. or collect it from qtpworld(From Sarvan)Smiles,Siba.* -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to retrieve the text from a Oracle table in Oracle Apps application
Hi Kasturi, I have seen a limitation with GetFieldValue that it can get the value only in visible table. It throws an error if you have to scroll the table to get a cell value. I dont know whether it is problem because of read only access. So if nothing helps, better raise a service request with HP. They can better help you in your scenario. Thanks, Uday On Saturday, 28 December 2013 15:11:20 UTC+5:30, Kasturi wrote: Hello Uday, Thank you so much for the reply :) However, I have tried with GetFieldValue but it is not retrieving text. The Oracle form is an front end application and all the fields are disabled only with read access. Is this the reason QTP is not being able to capture the field value? Regards Kasturi -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: On running VBS file throws 'Permission Denied Error'
Why are intend to create environmental variable from WScript.Shell? I dont see you are trying to get any process or system level variables in your code. So can directly create environment variables by using Environment(var name). If you want to go with your way with WScript's environmental variable, please refer this link which tells you what type of Env variables you have to use. http://technet.microsoft.com/en-us/library/ee156595.aspx Hope it helps. Thanks, Uday On Monday, 16 December 2013 19:48:22 UTC+5:30, Venkat Kandula wrote: Hi All, On running my VBS file, throws 'Permission Denied Error'. This error is not occurring in all the machines but in few. In code we're creating Environment Variables and setting the values respectively. We've checked all the permissions of the file; all as Admin (with all rights). Please find the attchement for reference. Kindly help me in this. Thanks, Venkat. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to retrieve the text from a Oracle table in Oracle Apps application
Hi Kasturi, OracleTable object doesnt have GetCellData method. Try with GetFieldValue method. i.e OracleFormWindow(Invoices).OracleTable(Table).GetFieldValue(1, 1) Thanks, Uday On Thursday, 26 December 2013 14:35:26 UTC+5:30, Kasturi wrote: Hi Team, I am working with a front end Oracle application form and configured script in QTP. However, I am not being able to retrieve the text from the Oracle table. There is no need to connect to DB as it is a front end application and I have to retrieve it there. I tried the below line OracleFormWindow(Invoices).OracleTable(Table).GetCellData(1, 1) but is not helping :( I am new to QTP and hence does not have much coding experience. Could you please help? -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to get the column names of a Oracle table in Oracle Apps application
Hi Manu, Though i didnt work on OracleTable, here is one clue. In WebTable, we use like WebTable.getROProperty(column names) ' which will return string with column names. After that we can split the array based on ; str=WebTableObj.getROProperty(column names) arr=split(str,;) In the same way, can you try for OrableTable? Thanks, Uday On Wednesday, 22 February 2012 22:10:33 UTC+5:30, manu wrote: Hi Everyone, Please let me know how to get the column names of a Oracle table in Oracle Apps application using QTP. *My Requirement:* I am having an oracle table in a application. My requirement is to validate whether Emp No and Emp Name columns are present in that table or not. *Note :* We can get the column names in a table for a Web or Sibel application but i need the syntax for oracle apps application. Thanks in Advance, Manoj -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Important Interview question
Hi Siba prasad, Find the below code. str=Inputbox(InputString) 'Input your string counter=0 Dim arr2() While str strChar=mid(str,1,1) arr1=split(str,strChar) ReDim preserve arr2(counter) If ubound(arr1)1 Then arr2(counter)=concateDStr(arr1,strChar) else arr2(counter)=strChar End If counter=counter+1 str=replace(str,strChar,) Wend For i=0 to ubound(arr2) print arr2(i) Next Function concateDStr(array1,strChar) retString= For i=0 to ubound(array1)-1 retString=retStringstrChar Next concateDStr=retString End Function For your 2nd question: print Environment(Your Built-In Env Variable Name) Ex: Environment(UserName) etc... Let me know if you need any further info. Thanks, Uday QTP Videos http://www.youtube.com/user/AnemUday/videos On Wednesday, 11 December 2013 20:00:55 UTC+5:30, Mishra Siba Prasad wrote: *1. what is place holder in qtp , how to use it.Ex:str=applepwrite the code in which u will get the below output.var_1=avar_2=pppvar_3=lvar_4=eN.B:=Do not do hard code.2.how to use in built Environment variable.Hello, QTPWORLDlites, please help me by solving these 2 questions.Thanks in advance.Smiles,Siba Prasad Mishra* -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Please Read it.
Hi Siba, The following code may help you: *Set obj=description.Createobj(micclass).value=BrowserreqBrowserWindow=Google 'Give your browser window nameSet childObjs=Desktop.ChildObjects(obj)For i=0 to childObjs.count-1strTitle=childObjs(i).getROProperty(title) If instr(1,strTitle,reqBrowserWindow)0 thenprint childObjs(i).getROProperty(hwnd)end ifnext* In this code, if you input the browser window name it will return you the hwnd. For Ex. If you open Yahoo,Google,Facebook etc. the above code return you the hwnd of Google. Let me know if you need further inputs. Thanks, Uday QTP Videos http://www.youtube.com/user/AnemUday/videos On Wednesday, 11 December 2013 20:04:42 UTC+5:30, Mishra Siba Prasad wrote: *I know how to use hwndBut in my machine if i use hwnd in gmail, 1st page is working fine , but 2nd page is not working.Need the help form you.Kindly help me..Smiles,Siba.* -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: queries
For both of your queries, if the objects exists in OR, then it is easy to get. 1. Window().dialog().dialog().GetToProperty(parent) 2. print Window().WinEdit().GetToProperty(index/location) On Wednesday, 11 December 2013 13:11:51 UTC+5:30, Amit wrote: HI, Pls see the below queries: 1. How to validate one dialog is displayed over other dialog in qtp (in windows based application) 2. How to get the value of the ordinal identifiers (index and location) at run time in qtp. GetROProperty is not working for ordinal identifiers Please reply Thanks -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to find CPU utilization and Memory consumption ?
Hi Lalit, I hope the below link helps. http://hpsqtp.blogspot.in/2012/11/how-to-find-cpu-and-memory-usage-using.html Thanks, Uday QTP Videos http://www.youtube.com/user/AnemUday/videos On Thursday, 26 September 2013 15:26:21 UTC+5:30, Lalit Aggarwal wrote: Hi All, Could anyone please guide me that how we can get the CPU utilization and Memory consumption at particular time by VB script? and, How to get it for individual test case execution? Regards, Lalit -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: page loading
Hi Sourish, How you are opening/invoking the IE? If you create IE object with internetexplorer.application then busy will work as expected. Find the below code: Set objIE=createobject(,internetexplorer.application) objIE.Visible=true objIE.Navigate www.yahoo.com Do while objIE.Busy wait(1) Loop browser(name:=Yahoo.*).page(title:=Yahoo.*).webelement(innertext:=Images,html tag:=SPAN).Click Set objIE=nothing If you are invoking it from SystemUtil, then use readystate of DOM. Following is the code: SystemUtil.Run iexplore.exe,www.yahoo.com Set obj=browser(name:=Yahoo.*).page(title:=Yahoo.*).Object While obj.readystatecomplete wait(1) wend msgbox I am ready browser(name:=Yahoo.*).page(title:=Yahoo.*).webelement(innertext:=Images,html tag:=SPAN).Click msgbox I am clicked Let me know if these methods help. Thanks, Uday QTP Videos http://www.youtube.com/user/AnemUday/videos On Wednesday, 25 September 2013 01:18:14 UTC+5:30, Sourish Mallick wrote: Set Object=Browser(name:=.*).object While Object.Busy=True Wend Set Object=nothing using this um getting general run error on the first line can ne1 help me.. on thiis -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: unable to put value into the To webelement of yahoo while composing mail by qtp
Hi Sourish Mallick, Please try below and let us know if any of the below helps. set method Check type method supports with the object Check Object.setattribute will help. Check Object.title, value or any other property helps. If nothing helps, please post a screenshot of the Object using Object Spy. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos QTP Videos Blog http://qtpftvideos.blogspot.in On Sunday, 1 September 2013 02:01:24 UTC+5:30, Sourish Mallick wrote: I am using this .object.innertext= sourish@gmail.com javascript: cannot recognize the email and its showing pleas enter atleast one email id in To Please Help -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to ignore blank rows in datatable?
Hi Mary, How you are importing the Excel file to Datatable? Is it Datatable.import(fileName)? Can you please check what is printing if you have a statement like xlSheetObj.UsedRange.Rows.Count. If it returns 65536, then that is what Datatable.getrowcount also prints. Also create another sample xls file and enter few rows of data and check import and print getRowCount. It should return you only the rows of data. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos QTP Videos Blog http://qtpftvideos.blogspot.in On Monday, 2 September 2013 15:30:47 UTC+5:30, Mary wrote: Hi, I have imported an excel sheet to the datatable. It has values only in two rows. But when i used datatable.GetRowCount it shows 65536.. So, it takes more time for the script execution. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Changing a technology is good Idea..........PLEASE HELP?
My sincere advice is just go ahead with Oracle Apps. What is there in Testing nowadays? No demand at all. Earlier it had good market and treated same way as .NET and Java. But now with numerous Testing Types, unlimited number of Tools causes big pain to Testing field. I feel even the IT Customer Support/Network support is also good compared to Testing. So my dear friend, put your efforts on your interested Technology than wasting time in Testing. On Thursday, 29 August 2013 13:49:02 UTC+5:30, abhi test wrote: Hi All, I have 3.5 yrs exp in manual testing. moving from testing to oracle apps technology is good or bad decision. Please help me...i am confused ..please give me right suggestion for my future. Thnaks Abhi -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: QTP n stopped working window... :(
Because downgrade doesnt work, you should do clean uninstall of QTP 11, and then install QTP 10. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos QTP Videos Blog http://qtpftvideos.blogspot.in/ On Thursday, 29 August 2013 00:46:05 UTC+5:30, bhavin v patel wrote: k so do you have a license for QTP 10.00 ? if you do you may need to contact HP support.I think what is happening is since your licence is expired you can not downgrade the version like that, you need to have QTP 10.00 licence On Wednesday, August 28, 2013 3:36:29 AM UTC-4, Uttmesh Shukla wrote: Hi, Few day ago someone had same issue. Search for a patch called qtp_00644 on Google and install it, you QTP 10.0 will Start recognize all the objects. Regards, Uttmesh On Wed, Aug 28, 2013 at 11:27 AM, Ramesh Lingala rames...@gmail.comwrote: I recently UN-installed QTP 11.0 as it's licence got expired and installed QTP 10.0 on windows 7. But after installation when I'm record *Flight reservation* app or any other, the QTP it is showing *QTP n stopped working window.*.. :( Please let me know how to resolve this issue, i tred with un-install QTP 10.0 and restalled it is not working. My email id : rames...@gmail.com Thanks regards Ramesh L -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: read Hover tool tip text
See the below Video, which cover all ways of testing Tooltip. http://www.youtube.com/watch?v=kNv_7b99zWg Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos QTP Videos Blog http://qtpftvideos.blogspot.in On Wednesday, 28 August 2013 19:48:02 UTC+5:30, surabhi wrote: The object.title actually worked on web application. I have inserted fireevent on mouseover and a wait statement. Now, the obj.title displays the reqyired text. Thanks for the help folks! On Tuesday, August 27, 2013 8:30:49 AM UTC-4, Bhuvan wrote: Try with below code msgbox Browser().Page().WebElement().object.title Thanks, Bhuvan On Mon, Aug 26, 2013 at 7:11 PM, surabhi krisa...@gmail.com wrote: Hi all, Does any body have any suggestions on how to read the hover tool tip text? I tried using fireevent onmouseover and then read, but qtp is not able to recognize the object for that hovered text. I tried with object spy to look for properties and no luck! I would appreciate for any input. Thanks, -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Thanks, Bhuvan 9640391013. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: how to store rows columns in array variable in excel comparision
Hi Mary, Following should help. i=0 For Each cell In objWorksheet1.UsedRange If cell.Value objWorksheet2.Range(cell.Address).Value Then ReDim preserve val(i) ' You should use Redim preserve as the subscript increases for each mismatch ReDim preserve Row_No(i) ReDim preserve Col_No(i) Val(i) = objWorksheet2.Range(cell.Address).Value Row_No(i) = objWorksheet2.Range(cell.Address).Row Col_No(i) = objWorksheet2.Range(cell.Address).Column i=i+1 'I see problem with your increment, which should be inside the loop, so i place within the loop end if Next Please let me know if it didnt work for you. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos QTP Videos Blog http://qtpftvideos.blogspot.in On Wednesday, 28 August 2013 18:04:07 UTC+5:30, Mary wrote: Hi All I am comparing two excel files and i got row and column of mismatched cell. I need to store that values in array values. I have used the below code but getting error like subscript out of range. Dim Val(),Row_No(),Col_No() i=0 For Each cell In objWorksheet1.UsedRange If cell.Value objWorksheet2.Range(cell.Address).Value Then Val(i) = objWorksheet2.Range(cell.Address).Value Row_No(i) = objWorksheet2.Range(cell.Address).Row Col_No(i) = objWorksheet2.Range(cell.Address).Column Next i=i+1 -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Please let me know how to make UFT to click on the non-selected RB.
Hi Rash, For Radio buttons, generally they are grouped and given one name. Ex: Select Gender: o Male o Female Here Male and Female are grouped under Select Gender object. So the right way of using is. B().p().webradiogroup().select Male 'for selecting Male B().p().webradiogroup().select Female ' for selecting Female If it doesnt solve your problem, can you please post the image of the Spy and the code snippet you tried. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Saturday, 17 August 2013 04:17:00 UTC+5:30, Rash wrote: In the application for some option there is binary answer – Yes, NO with Raido buttons. Scenario: When the user navigates to the screen, by default one of the RB will be selected. UFT can identify this RB which is default-selected. But fails to identify the one which is not selected. Even the SPY will not work on it. If tried to click on non-selected RB, it will fetch the property of the RB which is selected. Please let me know how to make UFT to click on the non-selected RB. Thanks! -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: how can i use variable within a html description code Set myp=Browser(title:=.*,index:=fPage).page(title:=.*)
Hi Ayaz, In browser description change with name property in place of title. Set myp=Browser(name:=.*,index:=fPage).page(title:=.*) Browser's description contains name, where as Page's description contains title Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Friday, 16 August 2013 22:12:57 UTC+5:30, Ayaz Ahmed wrote: Set myp=Browser(title:=.*,index:=fPage).page(title:=.*)'Here there is no need of putting again, but it is should not be problem. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: issue of arguments in functions
Another way of doing the samething in your syntax of statement is ABC. Hope both solutions would help you. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Saturday, 17 August 2013 18:53:22 UTC+5:30, udayanem wrote: shilpa, Try as specified in Below. On Friday, 16 August 2013 16:29:48 UTC+5:30, shilpa gupta wrote: Hi, Thanks for the update, yhis issue is resolved but i am facing another one I need to validate value in a cell of a datatable and the value included double quotes for e.g. value in the first cell is ABC (including double quotes). but thw code below is not working: If WinWindow(title).WinTable(title).GetCellData(0,0) = *chr(34)ABCchr(34) * Then msgbox=True Else msgbox=False End If Pls suggest how to handle double quotes in this case Regards On Wednesday, August 14, 2013 5:36:47 PM UTC+5:30, Gautham wrote: Try this: x =IF (ABC= 10, 20, 10) Call function_verify(x, OK) 'Call function_verify(10,20) Public Function function_verify(a,b) msgbox a msgbox b End Function On Wed, Aug 14, 2013 at 8:00 PM, shilpa gupta shilpa@gmail.comwrote: Hello friends I want to pass arguments in vb script function. The argument contain double quotes for e.g. function_verify(IF (ABC= 10, 20, 10), OK) here two arguments for the function 'function_Verify' are : first argument - IF (ABC= 10,20,10) Second argument - OK I have issue for the first argument as it contains space and double quotes pls suggest some workaround -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Need help on closing all tabs in IE?
CloseAllTabs method closes all Tabs in the browser including browser, but as the original poster, he wanted only only active and the rest of the tabs has to be deleted. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Thursday, 15 August 2013 23:42:12 UTC+5:30, miteshp...@gmail.com wrote: ' Close some Application If Browser(Home).Exist Then Browser(OMNI).CloseAllTabs End If On Tuesday, August 13, 2013 10:14:49 PM UTC-7, Venkat Reddy Bandaru wrote: Thanks day for your help Thanks, Venkat Reddy Bandaru vband...@gmail.com + 91 9884524606 On 13-Aug-2013 10:29 PM, udayanem uday...@gmail.com wrote: Hi Venkat, See the below code. Please let me know if you didnt understand anything. strRequiredTab=Your Browser Name Set obj=description.Create obj(micclass).value=Browser Set childObjs=Desktop.ChildObjects(obj) childCount=childObjs.count For i=0 to childCount-1 strBrowserName=childObjs(i).getROProperty(name) If strBrowserNamestrRequiredTab Then strVal=hwnd:=childObjs(i).getROProperty(hwnd) browser(strVal).close End If Next Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Tuesday, 13 August 2013 09:04:12 UTC+5:30, Venkat Reddy Bandaru wrote: Hi Experts, I need some help on closing all tabs except current one in IE8/9 Could you anyone please write me a piece of code for me? Thanks Thanks, Venkat Reddy Bandaru vband...@gmail.com + 91 9884524606 -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Regarding VBScript functions
Hi Jyothi, See below. *For your 1st question*: Str=54321 lString=len(Str) For i=1 to lString print Str Str=left(Str,lString-i) Next *For your 2nd question*: Step 1: Fetch the value from your Excel File(which needs bit of coding) Ste p 2: Use below approach num=b().p().webtable().getrowithcelltext(search value) if num0 then print Value found in WebTable else print Value not found in WebTable end if *For your 3rd question*: Function add(a,b,c) add=a+b+c End Function print add(2,3,5) Thanks Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Friday, 2 August 2013 11:02:23 UTC+5:30, Jyothi wrote: Dear Experts, Please answer the below given questions , 1) Write a script for triangle reverse *Output Should Be:* 54321 5432 543 54 5 2) I want VBscript to compare XL file contains with data and display data in web table 3) Want VBScript function to add 3 numbers and call them -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Only WinObject appears in Object Repository and object spy
Hi Kabir, Your problem in simple terms is, QTP is not able to identify the objects. There are many reasons. Below may help you: 1. Open your application after opening QTP. 2. Include required Add-Ins while launching QTP. 3. If it is a web-in, make sure your BHOManager Class Addon is enabled. 4. There might require some patches based your system configuration. 5. There might require some system configurations based on your OS, Browser and QTP Versions. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Sunday, 18 August 2013 04:19:44 UTC+5:30, Md Kabir wrote: Can any body please tell me the reason for WinObject in object repository(OR). Nothing else comes up in the OR. When I click on object spy or object repository I do not get any object info. Only wind object comes up. Please help me to object property by using OR or object spy. Thanks -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: issue
Hi Shilpa, If you think practically, how can QTP knows the path of the application? The better approach for your scenario is strAppPath=your applicationpath SystemUtil.Run strAppPath Set fso=createobject(Scripting.FileSystemObject) print fso.GetParentFolderName(strAppPath) Please let me know if it solves your problem. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Wednesday, 14 August 2013 09:39:06 UTC+5:30, shilpa gupta wrote: Hi Is there any method by which the path of the exe of the application under test can be get by QTP we first launch our windows based application manually (by doubl click on exe, which is saved in the local system). after that launch QTP. in some scenarion we want the path of that exe of the AUT. pls reply Regards -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: issue
There is another Utility Object called PathFinder, but which works for relative paths. Just explore this object as well. It may helpful for you. Thanks, Uday On Wednesday, 14 August 2013 22:17:10 UTC+5:30, udayanem wrote: Hi Shilpa, If you think practically, how can QTP knows the path of the application? The better approach for your scenario is strAppPath=your applicationpath SystemUtil.Run strAppPath Set fso=createobject(Scripting.FileSystemObject) print fso.GetParentFolderName(strAppPath) Please let me know if it solves your problem. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Wednesday, 14 August 2013 09:39:06 UTC+5:30, shilpa gupta wrote: Hi Is there any method by which the path of the exe of the application under test can be get by QTP we first launch our windows based application manually (by doubl click on exe, which is saved in the local system). after that launch QTP. in some scenarion we want the path of that exe of the AUT. pls reply Regards -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Need help on closing all tabs in IE?
Hi Venkat, See the below code. Please let me know if you didnt understand anything. strRequiredTab=Your Browser Name Set obj=description.Create obj(micclass).value=Browser Set childObjs=Desktop.ChildObjects(obj) childCount=childObjs.count For i=0 to childCount-1 strBrowserName=childObjs(i).getROProperty(name) If strBrowserNamestrRequiredTab Then strVal=hwnd:=childObjs(i).getROProperty(hwnd) browser(strVal).close End If Next Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Tuesday, 13 August 2013 09:04:12 UTC+5:30, Venkat Reddy Bandaru wrote: Hi Experts, I need some help on closing all tabs except current one in IE8/9 Could you anyone please write me a piece of code for me? Thanks Thanks, Venkat Reddy Bandaru vband...@gmail.com javascript: + 91 9884524606 -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Automating applet
Hi Vijaya, The very first thing you should have is Java Add-In. Install and include Java add-in, then it can able to understand objects. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Monday, 12 August 2013 10:55:13 UTC+5:30, vijaya wrote: HI i want to automate java applet though QTP , But QTP is not recognising Objects , When i record an action , following script got generated in epert view , Plz help me to solve this Browser(Xpress).Page(Xpress).ActiveX(Java Plug-in 1.6.0_22).WinObject(SunAwtCanvas).Click 270, 40, micRightBtn Browser(Xpress).Window(Window).Click 29,11 Window(NCDEX . Buy Order).Click 64,56 Window(NCDEX . Buy Order).Window(Window).Click 31,2 Window(NCDEX . Buy Order).Click 370,59 Window(NCDEX . Buy Order).Type 500 Window(NCDEX . Buy Order).Click 519,58 activex , web and VB add in's are enabled regards vijaya -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: how to validate document name (pdf, doc, ppt) in QTP 11 and IE9
Hi Dhaval, What objects r displayed after clicking. Better post a screenshot with some properties to understand your problem. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Wednesday, 7 August 2013 06:06:46 UTC+5:30, dhav...@gmail.com wrote: I have script developed to test pdf, doc or ppt file name as below. *Browser*(Browser Name).*Page*(Page name).*link*(link name).*click* *wait*(2) * If* *Browser*(name).*Dialog*(File Download).*Exist* Than *PDF_Name*= Browser(name).*Dialog*(File Download).*Winobject* (ObjName).*GetROPropert*y(text) * If* *PDF_Name* = generaltutorial.pdf Than *Reporter.ReportEvent micPass.* pdf exist Now my question is This was the script developed in IE8 where there was FILE DOWNLOAD dialog box. and from that we can get PDF Name. Now I am migrated to Win 7 and IE9 In IE9 there is no FILE Download dialog box and there is a notification at the bottom of page. How to get PDF name from it? Is there any other method to validate name of pdf? Help appreciated Thanks Dhaval -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Facing issue with Web Object in QTP
Yes, You are right Vikas. As RefreshObject is documented method for most of the object classes, I prefer using RefreshObject. But either RefreshObject or Init have the same results. Thanks, Uday QTP \ UFT Videos https://www.youtube.com/user/AnemUday/videos On Monday, 12 August 2013 10:26:34 UTC+5:30, Vikas wrote: Udayanem, Yes, you are right. Its working fine for web object. There is another method which can be used for web objects: *init* *For ex:* btn_Search.Init This method reload the web objects even after page is refreshed. This is an undocumented method of QTP, but it works perfectly in this scenario. Thanks for your reply. Regards Vikas On Sun, Aug 11, 2013 at 12:13 AM, udayanem uday...@gmail.comjavascript: wrote: Vikas, Use RefreshObject before clicking *btn_Search* second time btn_Search .Click Msgbox btn_Search Clicked btn_NewSearch.Click *btn_Search.RefreshObject* *btn_Search.Click* The reason being, at the time of initialization *btn_Search *it holds some properties. After clicking the button, the page may refresh. Even though the same object identification properties are used, we should refresh the object, so that it will work smooth. Please let us know whether the above solves your problem. Thanks, Uday QTP \ UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 9 August 2013 11:15:49 UTC+5:30, Vikas wrote: Hi, I am facing an issue regarding the Web Objects in QTP. I am using QTP 11.0 with IE9 browser. Test Code: ' Start of Code Dim btn_web Set btn_Search = Browser(Google).Page(**Google).Frame(Content).** WebButton(Search) Set btn_NewSearch = Browser(Google).Page(**Google).Frame(Content). **WebButton(New Search) btn_Search .Click Msgbox btn_Search Clicked btn_NewSearch.Click *btn_Search.Click* ' End of Code In aobve code, the code in Red font is always giving me error that Cannot identify object of class webbutton. But the same button is getting clicked 1st time, but not the 2nd time. These objects are present at the same page. Please provide me a solution, How can I declare a web object and should use it multiple time in the code? Regards Vikas Goyal -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.comjavascript: To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Unable to Identify Compose webelement of Gmail by childobjects but able to identify same by Linear Programming
Hi Sourish Mallick, The following code snippet worked for me. setting.webpackage(ReplayType)=2 browser(Inbox (1) - udaya...@gmail.com).Page(Inbox (1) - udaya...@gmail.com).webelement(innertext:=COMPOSE,index:=1).Click setting.webpackage(ReplayType)=1 Please update your script according to your browser name let us know whether it worked for you or not. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Sunday, 11 August 2013 23:52:50 UTC+5:30, Sourish Mallick wrote: Hi Uday, Thanks for the information... and it WORKED!!! now its getting identified.. but the issue of getting clicked is still there... the compose webelelment getting recognized but unable to click it. Tried with 'ondblclick and Click as well.. Nemore suggestion -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to check dollar value
Hi, Check the added line in Red color. Reason: Since $ is a special char and object description is evaluated as regular expression, i dont want to evaluate as regular exp. So i made that property to false. Check and let me know whether it worked for you or not. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Monday, 12 August 2013 20:30:11 UTC+5:30, wajahat...@gmail.com wrote: Can someone check and tell me where is my function wrong. Open Iexplore,https://gmcard.preprod.drmp.gm.com/core/vehicles/ra-2012; Text_Check Redemption Allowance: $1,000 Function Open(fBro,fUrl) systemutil.Run fBro,fUrl End Function Function Text_Check(fText) Set myp=Browser(title:=.*).page(title:=.*) Set myo=description.Create() ' myo(micclass).value=WebElement ' myo(html tag).Value=LI myo (innertext).value=fText * myo (innertext).RegularExpression=false * myo(index).value=0 If myp.WebElement(myo).GetROProperty(innertext)= fText then msgbox pass Else msgbox Fail End if set myp= nothing set myo= nothing End Function -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to check dollar value
The other work around is: *fText=Redemption Allowance: \$1,000* *fText1=Redemption Allowance: $1,000* Set myp=Browser(title:=.*).page(title:=.*) Set myo=description.Create() myo(micclass).value=WebElement myo (innertext).value=fText 'myo (innertext).RegularExpression=false myo(index).value=0 If myp.WebElement(myo).GetROProperty(innertext)= * fText1* then msgbox pass Else msgbox Fail End if set myp= nothing set myo= nothing Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Monday, 12 August 2013 23:45:51 UTC+5:30, udayanem wrote: Hi, Check the added line in Red color. Reason: Since $ is a special char and object description is evaluated as regular expression, i dont want to evaluate as regular exp. So i made that property to false. Check and let me know whether it worked for you or not. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Monday, 12 August 2013 20:30:11 UTC+5:30, wajahat...@gmail.com wrote: Can someone check and tell me where is my function wrong. Open Iexplore,https://gmcard.preprod.drmp.gm.com/core/vehicles/ra-2012 Text_Check Redemption Allowance: $1,000 Function Open(fBro,fUrl) systemutil.Run fBro,fUrl End Function Function Text_Check(fText) Set myp=Browser(title:=.*).page(title:=.*) Set myo=description.Create() ' myo(micclass).value=WebElement ' myo(html tag).Value=LI myo (innertext).value=fText * myo (innertext).RegularExpression=false * myo(index).value=0 If myp.WebElement(myo).GetROProperty(innertext)= fText then msgbox pass Else msgbox Fail End if set myp= nothing set myo= nothing End Function -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: required help launch qtp on 64 bit machine through vbscript
Hi Swapnil, This is a kind of limitation/issue with QTP. Because 64 bit application requires 64 bit DLL or EXE to execute, where as QTP comes up with 32 bit. There is a work around for this. Right click on your .vbs file - Choose Open With - Choose Default Program option - Click on Browse - Then point to the cscript.exe in C:\Windows\SysWOW64. Then double click your vbs file. Please let me know whether it works for you or not. Thanks, Uday QTP \ UFT Videos http://www.youtube.com/user/AnemUday/videos On Thursday, 8 August 2013 12:08:42 UTC+5:30, swapnil algamwar wrote: Required help to launch qtp on 64 bit machine using vbscript ,while executing the script i am getting an error Active X Component cant create object. Thanks and Regards: Swapnil S. Algamwar -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Unable to Identify Compose webelement of Gmail by childobjects but able to identify same by Linear Programming
Hi Sourish, You cannot use Indexed description with *CreateObjects *in Dynamic DP. Where as you can directly use the object description in the same statement(Static DP) as below: Browser().page().WE(innertext:=COMPOSE,index:=0).set Your string value Thanks, Uday QTP \ UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 9 August 2013 01:10:53 UTC+5:30, Sourish Mallick wrote: Hi All I am Unable to Identify Compose webelement of Gmail by childobjects but able to identify same by Linear Programming.Email is sourish@gmail.comjavascript: the Code is.. Childobject oPageName=Browser(name:=Inbox/ (4/,100) /- sourish/.mallick08/@gmail/.com /- Gmail).Page(micclass:=Page) Set oWebElement=Description.Create() oWebElement(micclass).Value=WebElement oWebElement(innertext).Value=COMPOSE oWebElement(index).Value=Index Set oNav_1=oPageName.ChildObjects(oWebElement) msgbox oNav_1.count Displays 0 but when writing msgbox Browser(name:=Inbox/ (4/,100) /- sourish/.mallick08/@gmail/.com /- Gmail).Page(micclass:=Page).WebElement(innertext:=COMPOSE,index:=0).exist displays TRUE even on HIGhLIGHT, highlighting the compose webelelemnt only please help me !! even for me Fireeventondbclick not working. using qtp 9.5, on IE 10 and OS is windows 7 -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: how to pass index number dynamically
Hi Silpha, Your first approach didnt work as you put more . Try below: WpfWindow(winmame).WpfEdit(wpftypenmae:=edit,index:=[1-99]).Highlight Your second approach didnt work as indexed descriptions cannot be used with ChildObjects(as you did in Dynamic DP) Where as you can use the index as in above statement(Static DP). Where as you can use the logic described by rajaselvan in the below reply. Thanks, Uday QTP \ UFT Videos https://www.youtube.com/user/AnemUday/videos On Thursday, 1 August 2013 10:59:50 UTC+5:30, shilpa gupta wrote: HI, pls see the below query: in the application, a text box is visible after performing some operation. the index number of text box is not constant and sometime it is 1 or 2 or 3..so on. my query is how to pass the index number in this case. to work on this text box i am using below: approach 1 WpfWindow(winmame).WpfEdit(wpftypenmae:=edit,index:=[1-99]).Highlight - not working approach 2 Set objedit = Description.Create objedit(wpftypename).Value = edit objedit(Index).Value = [1-99] Set chldobj = WpfWindow(winmane).ChildObjects(objedit) n=chldobj.Count - not working pls reply -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Facing issue with Web Object in QTP
Vikas, Use RefreshObject before clicking *btn_Search* second time btn_Search .Click Msgbox btn_Search Clicked btn_NewSearch.Click *btn_Search.RefreshObject* *btn_Search.Click* The reason being, at the time of initialization *btn_Search *it holds some properties. After clicking the button, the page may refresh. Even though the same object identification properties are used, we should refresh the object, so that it will work smooth. Please let us know whether the above solves your problem. Thanks, Uday QTP \ UFT Videos https://www.youtube.com/user/AnemUday/videos On Friday, 9 August 2013 11:15:49 UTC+5:30, Vikas wrote: Hi, I am facing an issue regarding the Web Objects in QTP. I am using QTP 11.0 with IE9 browser. Test Code: ' Start of Code Dim btn_web Set btn_Search = Browser(Google).Page(Google).Frame(Content).WebButton(Search) Set btn_NewSearch = Browser(Google).Page(Google).Frame(Content).WebButton(New Search) btn_Search .Click Msgbox btn_Search Clicked btn_NewSearch.Click *btn_Search.Click* ' End of Code In aobve code, the code in Red font is always giving me error that Cannot identify object of class webbutton. But the same button is getting clicked 1st time, but not the 2nd time. These objects are present at the same page. Please provide me a solution, How can I declare a web object and should use it multiple time in the code? Regards Vikas Goyal -- -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en --- You received this message because you are subscribed to the Google Groups QTP - HP Quick Test Professional - Automated Software Testing group. To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: datatable iterations
As you can see, after the video i posted the code. You have to use the same code. A pseudo code is: datatable.getsheet(Your sheet id) rowCount=Datatable.getrowcount for i=1 to rowCount print datatable.value(Your ColumnId,Your SheetId) next Thanks Regards, Uday QTP videos http://qtpftvideos.blogspot.com On Monday, 7 January 2013 21:35:58 UTC+5:30, pavani b wrote: Thank you uday can u write complete logic for second qery On Saturday, January 5, 2013 12:05:38 PM UTC+5:30, udayanem wrote: Hi Pavani, This is a QTP Setting. Click File Menu - Settings - Run tab. For your 1st question, If run on all rows option is selected then, your script is executed as many no of rows of data existing in your global table. In your case, 2 rows of data is existing, so the whole script is executed 2 times. If run one iteration only option is selected, then the script is executed only once. Same as the third option: Say if you have 10 rows of data and you would like to execute 1-5 rows, then configure accordingly. I explained the functionality in my training video, just have a visti at below link: http://qtpftvideos.blogspot.in/2012/11/how-to-work-with-datatables-part1.html For your second question, you have to write your own logic to iterate through the rows of data like Datatable.value(ParameterId,LocalSheetId) Thanks, Uday On Friday, 4 January 2013 18:12:52 UTC+5:30, pavani b wrote: 1) If i have 2 rows in the Global Data Table and 4 rows in the Local Datasheet. So how many time my script execute? 1) Continue to the above question if i want to run all the rows in local sheet what you will do? -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
Re: validate a control is highlighted on mousehover
Because the object state got changed upon mouse over, you have to use FireEvent method. Syntax would look like below: Object.FireEven onmouseover After this you have to use method to get the back ground color On Monday, 7 January 2013 11:41:21 UTC+5:30, shilpa gupta wrote: Hi All Pls see below query: I have windows based application and a button is highlighted (its color changed) on mousehover over that button. how this can be done in qtp 11 Regards -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
Re: Visual C++ runtime Error' is popped and crashed when launched QTP 11
The reason could be anything. May be QTP setting file might be corrupted. One of my colleague also faced similar kind of problem earlier. He uninstalled and reinstalled but didnt helped him. Then, i suggested him to uninstall using Tarun's QTP uninstaller from this location. http://knowledgeinbox.com/downloads/qtp/qtpft-uninstaller-v3-now-open-source-software/ After the uninstall, he reinstalled QTP again and it worked afterwards. *Note: This is a suggestion, it is upto you to follow or not.* On Thursday, 3 January 2013 21:14:52 UTC+5:30, any wrote: HP Quick Test Pro v11 Visual C++ Runtime Error when launched Good Morning, I am having trouble with Quick Test Pro. It crashed and gave the error message. *Microsoft Visual C++ Runtime Library* * * *Runtime Error!* *Program: C:\Program Files\HP\QuickTest Professional\bin\QTPro.exe* * * *This application has requested the Runtime to terminate it in an unusual way.* *Please contact the application's support team for more information.* * * *Do you have any solution for this. Many thanks* ** *Any* -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
Re: Query...
As from the name i feel it is CC build means Code Coverage builds, but i am not sure. On Friday, 4 January 2013 01:23:55 UTC+5:30, LetsTestIt wrote: Try this link, http://www8.hp.com/us/en/software-solutions/software.html?compURI=1172957#.UOXhYW_Acso On Thu, Jan 3, 2013 at 2:29 AM, shashank shekhar raj shashank.s...@gmail.com javascript: wrote: Officially UFT 11.5 released in Market I used this in my company now On 3 January 2013 00:46, udayanem uday...@gmail.com javascript:wrote: The below link may help you: http://www.joecolantonio.com/2011/07/29/qtp-11-support-matrix-with-patch-updates/ FYI. official UFT 11.5 is not in market. On Saturday, 29 December 2012 09:28:08 UTC+5:30, Abhi wrote: Hi Guys, Can QTP 11.0 supports cross browser testing? (Mozilla, Chrome, Opera and Sufari) If anyone is working with these browser, kindly let me know. Because I would be needing versions of browsers. I searched google, but i need confirmation from who is working on these.. Thanks and regards Abhi -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.comjavascript: To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to mercu...@googlegroups.comjavascript: To unsubscribe from this group, send email to mercuryqtp+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
Re: datatable iterations
Hi Pavani, This is a QTP Setting. Click File Menu - Settings - Run tab. For your 1st question, If run on all rows option is selected then, your script is executed as many no of rows of data existing in your global table. In your case, 2 rows of data is existing, so the whole script is executed 2 times. If run one iteration only option is selected, then the script is executed only once. Same as the third option: Say if you have 10 rows of data and you would like to execute 1-5 rows, then configure accordingly. I explained the functionality in my training video, just have a visti at below link: http://qtpftvideos.blogspot.in/2012/11/how-to-work-with-datatables-part1.html For your second question, you have to write your own logic to iterate through the rows of data like Datatable.value(ParameterId,LocalSheetId) Thanks, Uday On Friday, 4 January 2013 18:12:52 UTC+5:30, pavani b wrote: 1) If i have 2 rows in the Global Data Table and 4 rows in the Local Datasheet. So how many time my script execute? 1) Continue to the above question if i want to run all the rows in local sheet what you will do? -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
Re: Test Batch Runner
Without using Test Batch Runner also you can execute batch of QTP Tests using AOM. Please find the below link: http://www.qtpftvideos.blogspot.in/2012/12/how-to-schedule-batch-execution.html The advantage is, you can also schedule these batches using AOM. Thanks Regards, Uday www.qtpftvideos.blogspot.com www.hpsqtp.blogspot.com On Wednesday, 2 January 2013 20:32:29 UTC+5:30, Nataliya Zamaray wrote: How can I set the permission to run Test Batch Runner? thanks. -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
Re: QTP tool is unable to identify the places in MAP
I am hoping, after entering the location, it might show values as WebElements. In this case, use like below: print B().P().WE().Object.document.bgcolor Please let me know, whether the above helps. Thanks Regards, Uday http://www.qtpftvideos.blogspot.com/ http://www.hpsqtp.blogspot.com/ On Wednesday, 2 January 2013 16:09:42 UTC+5:30, pydi wrote: Hi Experts, HAPPY NEW YEAR I have few queries: 1.how to automate maps by using QTP 2.when we enter some address in the edit box of HERE.COM the place will pop up with one bubble with the background colour..Now QTP is unable to identify either bubble or the bubble's background colour.. How to identify that bubble with the background colour 3.Are there any APIs to automate maps.. Thanks Pydi -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
Re: New to QTP
First QTP reference is, QTP Help file. You can buy QTP Unplugged from Tarun's which is also good starter for newbies. On Wednesday, 2 January 2013 12:20:52 UTC+5:30, Vinay Kumar Bandapelli wrote: Hi Guys, I am new to QTP and suggest me some online books and which framework should be used to implement in projects. Thanks, Vinay -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
Re: qtp webservices
Hi, I hope the below link helps: http://relevantcodes.com/working-with-webservices/ Each and every piece of the statement is important if you have to work with Microsoft.XMLHTTP Thanks Regards, Uday http://qtpftvideos.blogspot.in/ http://hpsqtp.blogspot.com/ On Thursday, 18 October 2012 01:18:52 UTC+5:30, QTP wrote: hi all without webservice addin upto what extent i can learn ? pls suggest me some websites to learn what are the mandatory things to learn before starting webservices thanks in advance -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
Re: How to Unload the FunctionLibraryis at run time
Hi Satya, There is no concept of unloading a dynamically loaded functional library. If you use LoadFunctionLibrary, all the functions will be loaded during run-time and will be unloaded once the execution is over(no need to unload the function library). It wont associate the function libarry to your test. If your need is to unload during the run-time itself, then i hope it is not possible. If you associate function libraries to your test, then Bhuvan's solution may work. Thanks Regards, Uday http://qtpftvideos.blogspot.in/ http://hpsqtp.blogspot.com/ On Monday, 17 December 2012 12:04:47 UTC+5:30, satya wrote: Hi Frnds, I am loading the library functions at run time by using LoadFunctionLibrary statement. then what my requirement is i want to remove the Function library at run time once the execution of that function completes i want to remove/unload the function from the test script is it Possible to Unload the Function Library's at run time if possible plz tell me the procedure Your help would be much appreciated. Thanks in Advance Thanks, Satya Mail sent via way2sms. http://www.way2sms.com -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
Re: MIXED MODE SEQUENCE (OR THEN DESCRIPTIVE or DESCRIPTIVE THEN OR)
In general, for any project people use either OR or DP but not both. And in any statement also you cannot use both like B().p().WebEdit(name:=XYZ) 'this will throw an error. So better to use either OR or DP as per your needs. I suggest using Dynamic DP. Thanks Regards, Uday http://qtpftvideos.blogspot.in/ http://hpsqtp.blogspot.com/ On Wednesday, 19 December 2012 02:59:52 UTC+5:30, QTP ARUN wrote: Hi all pls suggest me like if am using *OR *and *Descriptive *which sequence will be effective *OR THEN DESCRIPTIVE* or * DESCRIPTIVE THEN OR* Because in my current project we are fully on descriptive Regards Arun S -- You received this message because you are subscribed to the Google QTP - HP Quick Test Professional - Automated Software Testing group. To post to this group, send email to MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en