コード例 #1
0
        public static void CreatePost()
        {
            PreviousTitle = CreatePostTitle();
            PreviousBody  = CreatePostBody();

            NewPostPage.GoTo();
            NewPostPage.CreatePostWithTitle(PreviousTitle)
            .WithBody(PreviousBody)
            .Publish();
        }
コード例 #2
0
ファイル: PostCreator.cs プロジェクト: AVoitsik/POframework
        public static void CreatePost()
        {
            NewPostPage.GoTo();

            PreviousTitle = CreateTitle();
            PreviousBody  = CreateBody();

            NewPostPage.CreatePost(PreviousTitle)
            .WithBody(PreviousBody)
            .Publish();

            //NewPostPage.CreatePost("Searching posts, title")
            //    .WithBody("Searching posts, body")
            //    .Publish();
        }