Geeks Talk

Prepare for your Next Interview




Scripting doubts in QTP

This is a discussion on Scripting doubts in QTP within the QTP forums, part of the Software Testing category; hi friends and nawab I have some doubts ..i have a script which i have written based on the objets present in QTP and if i paste the entire script ...


Go Back   Geeks Talk > Software Testing > QTP

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-07-2008
Expert Member
 
Join Date: Apr 2008
Location: tamilnadu
Posts: 728
Thanks: 15
Thanked 69 Times in 66 Posts
deepasree will become famous soon enough
Scripting doubts in QTP

hi friends and nawab

I have some doubts ..i have a script which i have written based on the objets present in QTP and if i paste the entire script in the expert view can
we execute the script or not..If possible then how ????and not possible also tell me why????

I have pasted the prepared script but the script reported error

Thanks
Deepasree
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-08-2008
Contributing Member
 
Join Date: Oct 2007
Posts: 30
Thanks: 0
Thanked 2 Times in 2 Posts
mgkganesh is on a distinguished road
Re: Scripting doubts in QTP

Your should have a shared object repository or you should export the repository from previous script and link it in the new one.

another one is script can be directly pasted and run of it is done descriptive code.
Reply With Quote
  #3 (permalink)  
Old 08-08-2008
Expert Member
 
Join Date: Apr 2008
Location: tamilnadu
Posts: 728
Thanks: 15
Thanked 69 Times in 66 Posts
deepasree will become famous soon enough
Re: Scripting doubts in QTP

hi friend..

Thanks for your response will you please tell me how to do the first step.. I am new
to QTP that's why i am asking...please share your idea with me..

Thanks
Deepasree
Reply With Quote
  #4 (permalink)  
Old 08-08-2008
Contributing Member
 
Join Date: Oct 2007
Posts: 30
Thanks: 0
Thanked 2 Times in 2 Posts
mgkganesh is on a distinguished road
Re: Scripting doubts in QTP

In qtp open object repository of the original script - resources -> object repository export the object repository - file -> export local objects -> give name to the tsr file in the new script associate repositories - resources -> object repository
tools -> associate repositories -> select the tsr file.
Reply With Quote
  #5 (permalink)  
Old 08-08-2008
Expert Member
 
Join Date: Apr 2008
Location: tamilnadu
Posts: 728
Thanks: 15
Thanked 69 Times in 66 Posts
deepasree will become famous soon enough
Re: Scripting doubts in QTP

hi friend..

WOW ... The test ran without an error.. Thanks a lot for providing this useful information!!!!!!

Thanks
Deepasree
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Testing Doubts mahasurendra Testing Issues 10 09-13-2008 12:24 AM
some doubts regarding automating test cases deepasree QTP 0 07-24-2008 03:27 AM
doubts kadhar SQL 2 07-17-2008 12:15 PM
plz give me a solution to my doubts.. rajgeo Oracle 1 05-07-2007 03:57 AM
Plz Any one tell my doubts in Testing chunduri1981 Testing Issues 3 11-25-2006 06:22 AM


All times are GMT -4. The time now is 07:31 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved