calling record module

Class library usage, coding and language questions.
omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

calling record module

Post by omayer » Wed Nov 07, 2012 9:24 pm

How to call recordmodule inside the user code module.
--- i do have folder called RecordModule then recordedpage.rxrec
public void (string test)
{
//how do i call recordedpage.rexrec

}
Thank you in Advance
Tipu

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: calling record module

Post by Support Team » Thu Nov 08, 2012 1:26 pm

Hello,

You could call your recording in the following way:
public void callRecordedPage()
{
	TestModuleRunner.Run(new WebTest.RecordModule.RecordedPage());
}
Info: WebTest is the project name in this case. Please change it to your project name.

Regards,
Markus (T)

delfindevassy
Posts: 4
Joined: Tue Aug 27, 2013 12:26 am

Re: calling record module

Post by delfindevassy » Wed Oct 16, 2013 10:38 pm

I think
Info: WebTest is the project name in this case. Please change it to your project name.
need to updated as Info: WebTest is the NAMESPACE of the test case. Please change it to your NAMESPACE.
Generally NAMESPACE is same as project name. If you change project name at a later point, NAMESPACE is not changing.