开发者

How to resuse selenium test file in another selenium test

开发者 https://www.devze.com 2023-03-20 01:57 出处:网络
Is there way where I can use one selenium test file in another test file like an include directive or something?

Is there way where I can use one selenium test file in another test file like an include directive or something?

I do not want to开发者_开发百科 create duplicate files, there is only one change I have to make in an existing test file so I thought if there was a way to use an existing test file ?

Thanks for your reply, I am using Ruby


It depends on what language you use for coding. In java to reuse another selenium test file we use the import directive. If you are using java I can show you a sample pseudocode.

What language are you using?

0

精彩评论

暂无评论...
验证码 换一张
取 消