Ask a Question

Data- Driven Loop- when running the second

yoorahn
Frequent Contributor

Data- Driven Loop- when running the second

Hello, I'm doing make many contact using Data-Driven Loop(CSV file) on web site.

contact registration contains many essential field. and also field has combo box. 

Current, My Problem is 

Couldn't select combo box's item When Data Roop runnig the second. 

The error messege is: zero-sized window. 

So I added delay before that action and adjust auto wait time out(15000 ms).

but still couldn't running when the second time. 

 

How can I fix it? 

4 REPLIES 4
AlexKaras
Community Hero

Hi,

 

Can you provide a relevant code snippet and indicate what line of code errors out?

Usually, zero-sized window means that the window that was used on the previous iteration was hidden (by setting its size to zero) and new window was created. So to resolve the error one usually needs to get a reference to this new window a-new.

Also, depending on your test code and tested application, this error might indicate a leaking resource (window).

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
yoorahn
Frequent Contributor

 

Your answer is totally right. 

then, How can I fix it? 

and The error message is every time changed. 

If first error message was 'zero sized window' and run again(not fix any one), then that message not appear. 

Another error comes out another row. ‌‌
It's so tough problem. 

😭

Hi,

 

Can you provide your code and indicate what line errors out with the 'zero-size' message?

What other error appears for what other line?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
sonya_m
SmartBear Alumni (Retired)

Thank you Alex!

 

@yoorahn did you manage to solve this one? Please share your solution with us, otherwise, looks like Alex is ready to help if you provide the needed info.


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: