The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> IBM/Rational TestManager

Pages: 1
RationalQA
Newbie


Reged: 07/09/07
Posts: 2
RFT Script fail while re-play in same Environment!
      #592716 - 09/24/09 03:01 AM

Hi,

I m using Rational Functional Tester 7.0.1.
Basically, I'm facing an issue; I just recorded a script and try to re-play it again in the same environment, it must be passed! but it gets failed. why? I'm really confuse!

Can you please any one look into the matter and let me know what is the issue?

My system environment is as below:
OS- Windows XP Professional service pack -3
Browser: I m working with IE6.
Rational Functional Tester I'm using Visual Basic 2005.

I tried so many sites
Example code is for google.com:


Public Function TestMain(ByVal args() As Object) As Object
StartApp("www.google.com")

' HTML Browser
' Document: Google: http://www.google.com/
Text_Q().Click(AtPoint(116,10))
Browser_HtmlBrowser(Document_Google(),DEFAULT_FLAGS).InputChars("testing")
Button_GoogleSearchsubmit().Click()
Text_Q().Click(AtPoint(131,8))
Table_HtmlTable_1().Click(AtCell( _
AtRow(AtIndex(0)), _
AtColumn(AtIndex(0))))
Button_GoogleSearchsubmit().Click()








The following error message comes up in html pages:

exception_name = Rational.Test.Ft.ObjectNotFoundException
exception_message = Looking for [TextGuiTestObject(Name: Text_Q, Map: q)] - no plausible candidate was found.
script_name = Script1
script_id = Script1.vb
line_number = 28
exception_stack = at Rational.Test.Ft.Object.Interfaces.GuiTestObject.Click(Point pt)
at Script1.TestMain(Object[] args) in C:\Documents and Settings\Rakesh Garg\My Documents\Visual Studio 2005\Projects\Project7\Project7\Script1.vb:line 28
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)


Post Extras: Print Post   Remind Me!   Notify Moderator  
RationalQA
Newbie


Reged: 07/09/07
Posts: 2
Re: RFT Script fail while re-play in same Environment! [Re: RationalQA]
      #592717 - 09/24/09 03:03 AM

Basically, script fail due to the main reason is; cursor gets hang while try to write, or its not able to write any thing in re-play mode.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Sathish804
Member


Reged: 07/17/09
Posts: 351
Loc: Hyderabad,INDIA
Re: RFT Script fail while re-play in same Environment! [Re: RationalQA]
      #601799 - 11/17/09 09:28 PM

Is your Browser enabled for Testing?? If not go to

Configure---> Enable environments for Testing.

--------------------
Thanks and Regards,
Sathish.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 0 anonymous users are browsing this forum.

Moderator:  AJ, RSBarber 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4650

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5