George -
Several Reasons pile up when QTP hangs. There are multiple dependencies due to which there is a crash or the tool simply moves to a non-responding state.
1 . Data Issue : -
1. Why does it hang after 80th record only ??
2. what does the 79th or 80th or 81st record contain ?? Is there something which is different from the other records ?
2. System Issue -
1. What is the RAM Usage during the whole process ??
2. At the point when it hangs what is the CPU usage ??
3. What else process consumes the max ram when QTP Hangs ?
3. IE issue -
1. How much of a client Side validation does the application depend on ??
2. Does it download all the controls everytime you open IE ??
3. What is the Max size defined for storing Temporary internet files for IE ??
Lastly, Please paste your formatted code for us to understand what exactly is the issue and to help you tweak the optimization factor.
I guess you must have had some solutions so far, My 2 cents would be,
1. what is the reason you are creating a IE object ?? Wouldnt ,
Work ?
2. Can you put up a counter and find exactly at which record does it hang up ?
3. You mentioned the RAM status. I am also intrested to know which process would consume the max RAM during the Hang-up Process ? Is it QTP or the IE ?
4. IE browser Version and QTP version ?
Let me know and i will help you to my best.
Sorry for the typo,
It should be SystemUtil.Run "Iexplore.exe",urlpath instead of ,
SystemUtil.Run "Iexplorer.exe", urlpath.
Several Reasons pile up when QTP hangs. There are multiple dependencies due to which there is a crash or the tool simply moves to a non-responding state.
1 . Data Issue : -
1. Why does it hang after 80th record only ??
2. what does the 79th or 80th or 81st record contain ?? Is there something which is different from the other records ?
2. System Issue -
1. What is the RAM Usage during the whole process ??
2. At the point when it hangs what is the CPU usage ??
3. What else process consumes the max ram when QTP Hangs ?
3. IE issue -
1. How much of a client Side validation does the application depend on ??
2. Does it download all the controls everytime you open IE ??
3. What is the Max size defined for storing Temporary internet files for IE ??
Lastly, Please paste your formatted code for us to understand what exactly is the issue and to help you tweak the optimization factor.
I guess you must have had some solutions so far, My 2 cents would be,
1. what is the reason you are creating a IE object ?? Wouldnt ,
Code:
systemUtil.Run "Iexplorer.exe", urlpath
2. Can you put up a counter and find exactly at which record does it hang up ?
3. You mentioned the RAM status. I am also intrested to know which process would consume the max RAM during the Hang-up Process ? Is it QTP or the IE ?
4. IE browser Version and QTP version ?
Let me know and i will help you to my best.
Sorry for the typo,
It should be SystemUtil.Run "Iexplore.exe",urlpath instead of ,
SystemUtil.Run "Iexplorer.exe", urlpath.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.