Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# ldtp Object LaunchApp method requires arguments by default. #8

Open
bangonkali opened this issue Nov 5, 2014 · 0 comments
Open
Assignees

Comments

@bangonkali
Copy link

The following piece of code required some arguments by default.

namespace ldtp.test.ie
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] s1 = new string[1] {""}; // requires arguments by default. this should be optional.
            Ldtp.Ldtp l = new Ldtp.Ldtp("*Internet Explorer");
            l.LaunchApp("iexplore", s1); // requires arguments by default. this should be optional.
        }
    }
}

I was hoping if it's possible to remove the requirement for arguments because not all applications require arguments on start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants