On Wed, Apr 25, 2012 at 1:22 AM, <[email protected]> wrote:
> Today's Topic Summary > > Group: http://groups.google.com/group/mercuryqtp/topics > > - Steps to save Descriptive programming functions in QTP functional > Library ? <#136e5e965f43d4c4_group_thread_0> [8 Updates] > - Objects not appearing after i select an item form > list<#136e5e965f43d4c4_group_thread_1>[20 Updates] > - How to selelct the automation candidature for regression > testing?<#136e5e965f43d4c4_group_thread_2>[6 Updates] > - Problem in Page sync <#136e5e965f43d4c4_group_thread_3> [4 Updates] > - Usage of "On error resume next" in keyword driven > framework<#136e5e965f43d4c4_group_thread_4>[2 Updates] > - Recovery Scenario <#136e5e965f43d4c4_group_thread_5> [1 Update] > - Get Subitem of swflistview <#136e5e965f43d4c4_group_thread_6> [1 > Update] > > Steps to save Descriptive programming functions in QTP functional > Library ? <http://groups.google.com/group/mercuryqtp/t/ddd654186795f528> > > chiran <[email protected]> Apr 24 01:08AM -0700 > > Hello Everyone, > > I have just started learning Descriptive programming. I am practicing > with an application where we can create multiple functions and use > them in various places . ...more > > > Deepak Kumar Mahapatro <[email protected]> Apr 24 > 04:31PM +0530 > > copy the functions and paste in a vbs file. execute that in runtime > and use > the function names > > > -- > Regards, > Deepak > ...more > > > sujit kumar <[email protected]> Apr 24 05:48PM +0530 > > hi > Copy all function and store in .vbs file > example:FunctionLibrary.vbs > c:\Library\FunctionLibrary.vbs > > Now create new Test case > File->Setting->Resources->Click on + sign > Select ur function ...more > > > Anish Pillai <[email protected]> Apr 24 08:41PM +0530 > > Hi, > > Check if the below link helps... > > *4 ways to associate function library to QTP > scripts*< > > http://www.automationrepository.com/2011/09/associate-function-library-to-qtp-script/ > > > > > > * ...more > > > chiran <[email protected]> Apr 24 11:31AM -0700 > > thanks alot to everyone..I have created one Function library and > associated > to current test. There you go , no problem now, only Playing with > functions > > thanks anyway guys .. > > chiRan :) > ...more > > > Mitul Jani <[email protected]> Apr 24 01:39PM -0500 > > hi anish > > how do i call this function from action 2 by just function name () or > any > other way > > SearchDropBox() or any other way > > ...more > > > Mitul Jani <[email protected]> Apr 24 01:35PM -0500 > > Hi anish, > > what did i wrong and what is function definition > when i call this function it sys object not exist can you look please > > Function SearchDropBox() > dim i,a ...more > > > Deepak Kumar Mahapatro <[email protected]> Apr 25 > 12:39AM +0530 > > i tried this with amazon.com and it worked fine for me. just chk for > the > descriptions. > > > -- > Regards, > Deepak > ...more > > Objects not appearing after i select an item form > list<http://groups.google.com/group/mercuryqtp/t/1ca801712f574bd4> > > Mitul Jani <[email protected]> Apr 23 03:12PM -0500 > > Please try to catch object using Object spry without recording so you > will > be fine > > mitul > > On Mon, Apr 23, 2012 at 8:54 AM, CHANDANA vodlakonda > ...more > > > Mitul Jani <[email protected]> Apr 23 03:14PM -0500 > > Hi team, > > how can i run my for loop for select any value from dropdown value f > Amazon > All department Web list > here is my code can you help how do i apply for automation login for > this ...more > > > Kiran Ogeti <[email protected]> Apr 23 02:17PM -0700 > > All, > > I got to cross verify if value matches but in the range.. could you > help below ex: > > I search empID as 1000 >> but results might come as employees from 900 > to 1100 or sometimes blank.. ...more > > > Deepak Kumar Mahapatro <[email protected]> Apr 24 > 09:51AM +0530 > > can u please post the code. so it'll be easy to understand. atleast a > dummy > one > > > -- > Regards, > Deepak > ...more > > > Madhavi Puli <[email protected]> Apr 24 09:54AM +0530 > > Hi > > This is madhavi.already i checked all addins are properly checked.i > used object spy but it recognize only internet explorer server > only.amusing qtp 10 trail version. > ...more > > > Deepak Kumar Mahapatro <[email protected]> Apr 24 > 04:48PM +0530 > > Hi Madhavi, > > Open internet explorer only after qtp open completely. which version > of IE > you are using as QTP 10 supports upto IE8 only. check the version of > your > IE also. it works fine in my ...more > > > Deepak Kumar Mahapatro <[email protected]> Apr 24 > 05:07PM +0530 > > Hi Mitul, > > try below code > to get the values > With Browser("name:=Amazon.com - Your > Account").Page("title:=Amazon.com - > Your Account").WebList("name:=url","html id:=searchDropdownBox") > ...more > > > Mitul Jani <[email protected]> Apr 24 06:26AM -0700 > > sure i am going to try and let you know > > Thanks team for your help > > On Tue, Apr 24, 2012 at 4:37 AM, Deepak Kumar Mahapatro < > ...more > > > Kiran Ogeti <[email protected]> Apr 24 07:51AM -0700 > > sorry it was confusing.. here the example code: > > > > if instr(1,UserInputData,RealtimeData) then > > msgbox "Yes input data exist in realtime data range" > > > > but the problem is "RealtimeData" has ...more > > > Anish Pillai <[email protected]> Apr 24 08:37PM +0530 > > Hi, > > Is this RealtimeData a string? like "10 to 100"? If that is a case then > Instr will not work. One way to accomplish this is to find out the > upper > bound and lower bound first. ...more > > > [email protected] Apr 24 10:13AM -0500 > > Nope realtimesdata is not a string , but a range like any value > between 10 to 100 > > Sent from my iPhone > > ...more > > > Anish Pillai <[email protected]> Apr 24 08:54PM +0530 > > Ok... So the way would be to find the upper and lower limit of this > range > and then verify that the value lies between this as mentioned above. > > > * > Cheers, > a n i s h > ...more > > > [email protected] Apr 24 10:40AM -0500 > > Exactly , now the question how to check the value lies in between or > not in code > > Sent from my iPhone > > ...more > > > Anish Pillai <[email protected]> Apr 24 09:14PM +0530 > > Can't that be done using if condition like this... > > If UserInputData >= iLwrBound and UserInputData <= iUprBound Then > msgbox "value in range" > Else > msgbox "value not in range" > End If > > > * ...more > > > Anish Pillai <[email protected]> Apr 24 09:15PM +0530 > > Can't that be done using If condition as shown below?? > > If UserInputData >= iLwrBound and UserInputData <= iUprBound Then > msgbox "value in range" > Else > msgbox "value not in range" > End If > ...more > > > [email protected] Apr 24 11:06AM -0500 > > Of course we can , I was thinking way too much to find a function like > instr , I don't know if any function available for this > > > > Sent from my iPhone > > ...more > > > Mitul Jani <[email protected]> Apr 24 01:16PM -0500 > > Hi anish, > > When i try to call this function from Action 2 which i created under > Action > 1 and i already associate this lib file .qfl into Action 1 but when i > execute Action one it stop at this ...more > > > Deepak Kumar Mahapatro <[email protected]> Apr 24 > 11:53PM +0530 > > put function defination in the lib file. execute the lib file at first > then > use the function name > > > -- > Regards, > Deepak > ...more > > > Mitul Jani <[email protected]> Apr 24 01:28PM -0500 > > can you tell me what is function defination? can you tell me > > On Tue, Apr 24, 2012 at 1:23 PM, Deepak Kumar Mahapatro < > ...more > > > Deepak Kumar Mahapatro <[email protected]> Apr 25 > 12:36AM +0530 > > the complete function code > -- > Regards, > Deepak > ...more > > How to selelct the automation candidature for regression > testing?<http://groups.google.com/group/mercuryqtp/t/7be51b585c09bc81> > > Madhavi Puli <[email protected]> Apr 24 10:21AM +0530 > > Hi friends > > This is madhavi.what is the meaning of driver sheet > ...more > > > Deepak Kumar Mahapatro <[email protected]> Apr 24 > 04:35PM +0530 > > it is an excel sheet that read by driver script to execute the test > cases. > this sheet contains list of all the test cases with a flag that > indicates > whether to execute that tc or not. > > > -- ...more > > > Mitul Jani <[email protected]> Apr 24 05:20AM -0700 > > hi Anish, > > can you tell me how to generate for loop for Weblist in DEscriptive > programming > > i tried but it throws error > > I counted total items but i want to create code for automation ...more > > > Anish Pillai <[email protected]> Apr 24 08:51PM +0530 > > Mitul, > > Can you share the code that you used. > > > * > Cheers, > a n i s h > > [QTP Tutorial]< > http://www.automationrepository.com/tutorials-for-qtp-beginners/>| > [VBScript ...more > > > Mitul Jani <[email protected]> Apr 24 01:24PM -0500 > > this one i got solved from you guys but i just want to make sure about > function library associate should be .vbs or .qfl > > please help me > > On Tue, Apr 24, 2012 at 10:21 AM, Anish Pillai > ...more > > > Deepak Kumar Mahapatro <[email protected]> Apr 25 > 12:35AM +0530 > > any one we can use but vbs is the best option > > > -- > Regards, > Deepak > ...more > > Problem in Page > sync<http://groups.google.com/group/mercuryqtp/t/c2e35b301d9af8e4> > > Suresh Pandian <[email protected]> Apr 24 01:32AM -0700 > > Hi all, > > I have a problem with the page synchronization, In my application the > synchronization is done using an image, the image will appear until > the page loads and the status of the Browser is ...more > > > uma mahesh <[email protected]> Apr 24 04:18PM +0530 > > Use > > Do until OBJ.exist > Loop > ...more > > > Anish Pillai <[email protected]> Apr 24 08:29PM +0530 > > This is a common issue with many we applications. As Uma Mahesh > mentioned, > Image.Exist should work in your case since the image is being used for > synchronization. > > There is one more method that ...more > > > Deepak Kumar Mahapatro <[email protected]> Apr 24 > 09:25PM +0530 > > Hi Suresh, > > you can try below code that uses the native property readyState > <object hierarchy>.object.readyState. result of the statement can be > any of > the below > > uninitializedThe object is ...more > > Usage of "On error resume next" in keyword driven > framework<http://groups.google.com/group/mercuryqtp/t/1219777dbb644a28> > > KRISHNA CHAITHANYA <[email protected]> Apr 24 06:49PM > +0530 > > Hello All , > > *Issue:* > > Can you help out detail explanation of error handling especially "On > error > resume next" in keyword driven framework. > > *Background info :* > * > * > *We were Using hybrid ...more > > > Anish Pillai <[email protected]> Apr 24 09:10PM +0530 > > Hi Kris, > > The basic requirement when you run a set of test cases in batch is > that*the execution should not halt in between > *. Even if a test case fails due to any reason, the framework should > have ...more > > Recovery > Scenario<http://groups.google.com/group/mercuryqtp/t/844d5b92e2a0e1d7> > > Anish Pillai <[email protected]> Apr 24 08:56PM +0530 > > Hi Baba, > > If you know exactly the point where the application crashes, then you > can > re-open it there. But if the application can crash at any point in > time, it > would be difficult to handle this ...more > > Get Subitem of > swflistview<http://groups.google.com/group/mercuryqtp/t/a47b93ab46afcf45> > > udhaya kumar <[email protected]> Apr 24 02:47AM -0700 > > Hi All, > > i have application with swflistview objects. this object > has so many subitems those subitems are in combobox and textbox. How > to get these items from the swflistview. > > ...more > > You received this message because you are subscribed to the Google Group > mercuryqtp. > You can post via email <[email protected]>. > To unsubscribe from this group, > send<[email protected]>an empty message. > For more options, visit > <http://groups.google.com/group/mercuryqtp/topics>this group. > > -- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
