Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18120 Posts in 4741 Topics- by 31743 Members - Latest Member: suuraj
 

Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: Unexpected File Format    (Read 1185 times)
Naresh Kumar
User
*
Offline Offline

Posts: 38


WWW
« on: November 28, 2007, 06:57:07 AM »

Hi,

1. TYPE OF AUT :- WEB
2. TECHGY      : JAVA
3. QTP VERSION : 9.2
4. ADDINS      :WEB
5. PROBLEM:-

           I have recorded a test with more than 30 different actions in it. I still tried recording new actions and QTP was not able to record due to low memory space and I stopped it, so i want to revert back to the last saved setting. But when i tried to open the test i am getting an error "Unexpected File Format" and my whole test seems to have lost. It was my three days work !!! is there any possibility to get atleast a few recorded actions back.

Kindly help me out
Logged
Site Administrator
Administrator
Active User
*****
Offline Offline

Posts: 56



WWW
« Reply #1 on: November 28, 2007, 02:37:00 PM »

Try opening the separate .mts files within the sub-directories of the test directory.
These files should contain the actual test script.
At least it won't be a total lost...
Logged

Yaron Assa

AdvancedQTP Site Administrator
Prakash Kumar
User
*
Offline Offline

Posts: 32

I am working as a automation Tester in TCS


« Reply #2 on: November 29, 2007, 12:31:35 AM »

Hi,
You can get all the recorded scripts back.

1. Go to the Test Folder.
2. Corresponding to ur each action there will be one action folder in ur Test Folder.
3. Ur each action folder contains a file name "Script.mts". This is ur recorded script corresponding to that action.

 In order to make it work again. U have to do following task.

1. Createa a new test.
2. make  as many blank action as u made previously .
3. Copy the script corresponding to each action respectively that u have get from ur previous test.
3. Now you have to add objects manually in objectRepository according to ur action script requirement.

  This will save ur logical efforts as well some time. 
Logged
Pages: [1]   Go Up
Print
Jump to: