Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
371 views
in Technique[技术] by (71.8m points)

c# - C#问题-需要自动关闭安装程序窗口(c# question - need to automatically close a window of setup)

I run a test using c# code for running some exe setup file.

(我使用c#代码运行了一些exe安装文件,从而进行了测试。)

the test gets stuck while installation with a window that says - "failed to parse..." or "following extensions are blocked...".

(安装过程中,窗口显示“无法解析...”或“以下扩展名被阻止...”,因此测试卡住了。)

the only thing to do with those windows is to press "ok" and the test continues.

(这些窗口唯一要做的就是按“确定”,然后测试继续。) 在此处输入图片说明

how can I "press" this ok using the code, with no need of the user to press this "ok" and then let the test continue to run with no manual intervention?

(我如何使用代码“按”此确定,而无需用户按此“确定”,然后让测试在没有人工干预的情况下继续运行?)

  ask by Valentina Nikolenko translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...