Header image

Chức Năng Record Trong KATALON

19/12/2022

704

Bạn là một Coder và muốn tái hiện kịch bản một cách nhanh nhất có thể? Hay bạn là một Tester mà chưa biết gì về lập trình cũng như rất khó có thể tiếp cận với Automation Testing? Thì ngay lúc này đây mình muốn chia sẻ đến bạn một tính năng rất hay trong Katalon đó là “Record”.
Để không dài dòng tốn thời gian, mình sẽ đi thẳng vào hướng dẫn luôn nhé!

Bước 1: Đầu tiên để có thể sử dụng được thì bạn hãy download và cài đặt theo link này nhé: https://www.katalon.com/download/

Bước 2: Xong, giờ bạn hãy mở Katalon lên và tùy chỉnh một vài thiết lập nho nhỏ nào.

  1. Vào Project>Settings
  1. Cửa sổ mới hiện ra, tiếp tục chọn: Execution. Tại đây ta sẽ tuỳ chỉnh cho “Default execution”, trường này cho phép ta chọn Browser mặc định khi ta chạy Test Cases. Ở đây mình set là “Chrome” nhé. Bạn cũng có thể chọn Firefox, IE, Safari tuỳ vào mục đích của bạn. Chọn xong thì Apply thôi.

Rồi đó, giờ bắt tay vào nha.

Tạo Project

Đầu tiên thì tất nhiên ta phải tạo Project mới rồi. Chọn vào File > New > Project.

Khi đó sẽ xuất hiện cửa sổ “New Project” như bên dưới. Ta sẽ điền tên project vào trường Name, tiếp tục vì ở đây mình hướng dẫn cho Web nên sẽ chọn “Web”. Tiếp đến chọn Location là nơi để chứa thư mục project này, có thể dùng mặc định có sẵn hoặc có thể tuỳ chỉnh chọn lại bằng cách click vào nút Browse… và chọn location bạn muốn. Khi đã hoàn tất xong, click vào nút OK để hoàn thành.

Sau đó sẽ tiếp tục hiện ra cửa sổ như bên dưới, bạn có thể bỏ qua bằng cách đóng lại.

Sau khi tạo thành công thì sẽ có những thư mục được tạo sẵn như ảnh dưới. Và ở bài viết lần này bạn chỉ cần quan tâm 2 thư mục mình đã khoanh đỏ là “Test Cases” và “Object Repository” nhé!

Record Web

Tại đây mình sẽ hướng dẫn bạn cách Record nhé! Đơn giản thôi, nó có nghĩa là Katalon sẽ ghi lại các thao tác mà bạn thực hiện trên web. Từ đó bạn sẽ lưu lại và tái sử dụng cho những lần sau.

Đầu tiên để ghi thì tất nhiên bạn cần bấm vào biểu tượng “Record Web” như ảnh bên trên. Sau đó sẽ hiển thị cửa sổ “Web Recorder” như bên dưới.

Những mục chính cần chú ý mình đã khoanh vùng đỏ ở ảnh trên:

  • URL: là nơi bạn sẽ điền URL của web bạn sẽ truy cập.
  • Browser: có thể click vào mũi tên bên cạnh để lựa chọn trình duyệt bạn sử dụng để chạy (Google Chrome, Firefox, IE, Safari, …)
  • Vùng khoanh đỏ to rộng nhất thì đó chính là nơi sẽ ghi lại thao tác của bạn sau khi thực hiện trên web.
  • Và cuối cùng sẽ là nút “Run all steps“, ở đây sau khi đã ghi lại các thao tác bạn có thể chạy thử với phần record đã được ghi lại.
    Sau khi đã hài lòng với Test Case bạn mong muốn, hãy lưu lại TC này bằng cách click vào nút Save Script.

Dưới đây là màn hình kết quả sau khi mình đã thử ghi lại một số hành động thực hiện trên chính trang web https://www.supremetech.vn/

Sau đó sẽ có cửa sổ “Add Element to Object Repository” hiển thị:

  • Vùng khoanh đỏ bên trái sẽ hiển thị ra cho bạn những element mà Katalon đã bắt được khi bạn thao tác.
  • Vùng khoanh đỏ bên phải là nơi cho phép bạn chọn nơi lưu trữ element. Có thể chọn thư mục có sẵn hoặc có thể thêm mới bằng các click vào nút “New Folder” mình khoanh đỏ ở bên dưới.

Mình đã tự tạo mới folder có tên “test1” và nó đã được hiển thị ở vùng phía bên phải. Giờ mình sẽ lưu vào thư mục “test1” luôn nhé! Xong rồi thì hãy bấm OK thôi.

Lại thêm 1 cửa sổ khác hiện ra, bạn sẽ điền vào tên của Test Case. Tuỳ bạn đặt thôi, sao cho dễ phân biệt giữa những Test case. Ở đây mình sẽ điền vào “Test Case 1” và bấm OK.

Kiểm tra và Run lại phần đã Record

Đã tạo xong Test Case rồi đấy!

  • Tại thư mục Test Cases bây giờ đã có thêm “Test Case 1” là cái mình đã đặt tên cho bộ test case ở phần trên đấy!
  • Còn ở Object Repository đã có các element liên quan được lưu vào thư mục “test1” do mình tự tạo.
  • Còn phần khoanh đỏ bên phải chính là phần hiển thị khi mình mở bộ “Test Case1” lên đấy.
  • Và ta có thể Run test case này bằng cách bấm nút mình chỉ mũi tên màu đỏ bạn nha (có thể click nút mũi tên bên cạnh để chạy bằng trình duyệt khác, hoặc là click vào luôn thì sẽ chạy trình duyệt mặc định bạn đã chọn ở phần Setting).

Cảm ơn bạn đã theo dõi bài viết hôm nay của mình! Hi vọng bài viết này sẽ giúp bạn tiết kiệm được kha khá thời gian trong việc test.!

*(Bạn có thể theo dõi thêm *video bên dưới* mình thao tác cho tạo Test Case bằng Record để hiểu hơn nhé!)*

Related Blog

Customer Data Platform vs Data Lake

Online-Merge-Offline Retail

Software Development

+0

    Customer Data Platform vs Data Lake: Key Differences and Use Cases

    Hi tech fellows, it's been a while since my last article. It's Linh again for the blog series of Customer Data Platform (CDP). Last time, I've shared the definition of customer data integration and why it's important for online-merge-offline retail business. In the coming articles, let's dive in some common data repositories, classify them and choose the best solution for your unique business. As you may know, two popular solutions for managing and utilizing data are the Customer Data Platform (CDP) and the Data Lake. While both serve critical functions, they differ in terms of structure, purpose, and usage. Understanding these differences is essential for companies aiming to leverage data effectively, especially in sectors like retail, finance, and technology. What is a Customer Data Platform (CDP)? A Customer Data Platform (CDP) is a centralized software solution designed specifically for collecting, unifying, and managing customer data from various sources. Unlike traditional databases, a CDP is built with customer-focused marketing and personalization in mind. It enables businesses to create unified customer profiles by consolidating data from interactions, behaviors, and transactions across multiple channels, such as websites, apps, CRM systems, and customer support interactions. Key Features of a CDP: Unified Customer Profiles: CDPs integrate customer data from various sources to create a single view of each customer.Data Activation: CDPs enable real-time data activation, allowing businesses to use data for targeted marketing and personalized experiences.Integration Capabilities: They are often built to connect seamlessly with marketing and CRM platforms for streamlined data utilization.Data Compliance: CDPs often include built-in tools for managing consent and adhering to data privacy regulations, making it easier to comply with GDPR, CCPA, and other laws. Primary Use Cases for CDPs: Personalized marketing and targetingCustomer segmentation and engagement analysisReal-time data pipelines for dynamic campaigns What is a Data Lake? A Data Lake, in contrast, is a large repository that can store vast amounts of raw, unstructured data, often in its native format. It is highly flexible and can store all types of data, including structured, semi-structured, and unstructured data, such as images, video, and social media posts. Data Lakes are often used in data science and analytics-heavy organizations where data preparation, cleansing, and transformation occur before insights are derived. Key Features of a Data Lake: Data Storage Flexibility: Data Lakes allow organizations to store raw data without enforcing a predefined schema.Cost Efficiency: Data Lakes often utilize low-cost storage options, which is beneficial for businesses handling large volumes of data.Scalability: Built for massive storage, Data Lakes can scale as businesses accumulate more data from various sources.Advanced Analytics Support: They serve as a foundation for machine learning and advanced analytics, where large datasets are processed to uncover patterns and insights. Primary Use Cases for Data Lakes: Large-scale data storage and archivalMachine learning and data science projectsAnalytics and reporting, especially on diverse data sources Customer Data Platform vs Data Lake: A Comparative Analysis FeatureCustomer Data Platform (CDP)Data LakePrimary PurposeCustomer data management and activation for marketing and personalizationCentralized data repository for diverse data storage, analytics, and machine learningData TypePrimarily structured, customer-related dataStructured, semi-structured, and unstructured dataData ProcessingReal-time, with a focus on customer experienceBatch processing and on-demand, often for data scienceEnd-UsersMarketing teams, customer service, salesData scientists, analysts, IT departmentsCompliance ManagementBuilt-in tools for managing customer consent and privacyRequires custom privacy management solutionsIntegrationIntegrates with CRM, marketing, and advertising platformsIntegrates with data processing tools like Hadoop, Spark, or cloud data warehouses Customer Data Platform vs Data Lake: Which one to choose? While both platforms are valuable, the choice between a CDP and a Data Lake often depends on a business's specific needs and data strategy. Choose a CDP if:Your goal is to improve customer experiences and drive personalized marketing.You need a single customer view across multiple touchpoints.Data activation and real-time capabilities are essential for your marketing and customer engagement strategies.Choose a Data Lake if:Your organization needs a flexible, scalable data repository for large volumes of diverse data.Advanced analytics, machine learning, or data science is a priority.You need a cost-effective storage solution for unstructured data and archival purposes. Hybrid Approach: CDP and Data Lake Together Some organizations may find value in using both a CDP and a Data Lake. For instance, data can first be ingested into a Data Lake, where raw data is stored and processed, then specific customer data can be moved into a CDP for real-time personalization and marketing purposes. This hybrid approach offers flexibility and maximizes the benefits of both systems, supporting both customer-focused initiatives and advanced analytics. Conclusion CDPs and Data Lakes both play critical roles in data-driven organizations but serve different functions. While CDPs focus on the customer experience by enabling real-time, actionable insights, Data Lakes offer scalable storage for all types of data, supporting data science and analytics. By understanding the unique capabilities of each, businesses can make informed decisions that align with their data management needs and organizational goals. Seeking ways to utilize customer data for efficient decision making? Stay tuned for the next articles! At SupremeTech, we're supporting multi-million-customer business to build data pipelines that transform the way they serve customers. Let's book a free consultation with us if you want a custom solution for your business as well.

    01/11/2024

    14

    Linh Le

    Online-Merge-Offline Retail

    +1

    • Software Development

    Customer Data Platform vs Data Lake: Key Differences and Use Cases

    01/11/2024

    14

    Linh Le

    5 core values of SupremeTech

    Our culture

    +0

      SupremeTech’s Core Values: The Foundation of Our Success

      In today's competitive business landscape, organizations must establish a strong foundation of core values. These values define a company’s identity, guide operations, and influence customer, employee, and stakeholder relationships. At SupremeTech, our core values are not only words on a wall. They are the essence of who we are and how we conduct our business. This article will discuss the importance of core values, detail SupremeTech's five core values, and show how they benefit our customers. What is core value? Core values are the deeply held principles that guide an organization’s actions and decisions. They serve as a roadmap for employees, helping to align their behavior with the company’s mission and vision. Core values influence various organizational aspects, from hiring practices to customer interactions, and are essential for creating a cohesive corporate culture. Core values clarify employees' expectations and foster a sense of belonging within the organization. These values create trust and reliability for customers and stakeholders, reflecting the company’s commitment to ethical practices and quality service. Five core values of SupremeTech At SupremeTech, we recognize that our five core values are essential to our success and are vital in shaping our company culture. Ownership and Responsibility One of SupremeTech's cornerstone values is Ownership and Responsibility. Taking ownership of even the smallest tasks is essential for creating new value through our work. This principle encourages employees to be proactive in their roles, ensuring they deliver on promises made to clients and colleagues. Taking ownership means facing responsibilities head-on rather than avoiding them. It fosters a culture where employees feel empowered to make decisions and take action without waiting for direction. This sense of accountability enhances individual performance and contributes to team success. This value results in dependable service delivery for our customers. When our team members take ownership of their responsibilities, clients can trust that their needs will be met with diligence and care. Passion and Challenge At SupremeTech, we believe that Passion and Challenge fuel innovation and drive success. Our employees are encouraged to approach their work with enthusiasm and dedication. We understand that passion leads to excellence. When individuals enjoy what they do, they are more likely to put forth their best efforts. Moreover, we embrace challenges as opportunities for growth. Obstacles are inevitable in an ever-evolving industry like technology. However, our team indicates these challenges as chances to learn and innovate. This mindset not only enhances personal development but also drives the company forward. This value shows that our customers can expect passionate engagement from our team members committed to achieving successful outcomes. Our enthusiasm leads to creative solutions tailored to meet client needs. Honor the Truth with an Open Mind Honoring the Truth with an Open Mind is another core value at SupremeTech. We believe in fostering an environment where honesty and transparency are paramount. Employees are encouraged to express their opinions openly while respecting differing viewpoints. This value emphasizes heart-to-heart communication and creates space for constructive discussions. By valuing honesty in all internal or external interactions, we build trust among team members and our clients. This commitment ensures that customers can expect straightforward communication regarding project progress, challenges faced, and potential solutions. Transparency fosters stronger relationships based on mutual respect and understanding. Continuous Learning Continuous Learning is essential for success at SupremeTech in a rapidly changing technological landscape. We encourage our employees to embrace lifelong learning by connecting existing knowledge with new insights. This proactive approach enables us to stay ahead of industry trends while fostering innovation within our teams. Continuous learning helps our team adapt to changes. When new technologies emerge, or market conditions change, our members are ready to adjust quickly. By encouraging a culture that values learning, we empower everyone to grow and improve. This value ensures our customers get the latest solutions based on industry trends. Our focus on continuous improvement leads to better services that meet our clients' changing needs. Be Kind Lastly, Be Kind is a crucial value at SupremeTech. We believe in treating everyone respectfully and aiming for win-win situations in our relationships with colleagues and clients. This value encourages collaboration and creates an inclusive environment where diversity is celebrated. We also prioritize ethical behavior, acting with good intentions and no hidden motives. We build strong, trusting relationships by valuing kindness in all our interactions. This commitment assures our customers that they can expect respectful engagement where their needs come first. Our focus on kindness ensures that every interaction is positive and constructive. In conclusion, SupremeTech's core values guide our internal culture and how we connect with customers and stakeholders. By living these values every day, we strive for business success and meaningful relationships built on trust, respect, and shared goals. As we continue this journey with our clients, we remain dedicated to upholding these principles in everything we do.

      23/10/2024

      48

      Ngan Phan

      Our culture

      +0

        SupremeTech’s Core Values: The Foundation of Our Success

        23/10/2024

        48

        Ngan Phan

        react native vs kotlin multiplatform

        Software Development

        +0

          React Native vs. Kotlin Multiplatform: Which one is better?

          Hi tech fellows! Continuing the series comparing different development frameworks, this week we will talk about React Native vs. Kotlin Multiplatform. The comparison unveils the similarities and differences between the two popular technologies for iOS and Android app. This article will cover these main criteria: PerformanceCompatibility with Native APIsDevelopment ExperienceSuitability for Different Types of ProjectsTime Efficiency Performance: Native vs. JavaScript React Native uses JavaScript and a bridge to communicate with native components. This makes it a solid choice for many applications, but it can face performance issues with complex UI or heavy animations. The JavaScript bridge adds overhead, which may cause delays in rendering or interactions for more performance-intensive apps. React Native is suitable for apps like social media platforms, where performance is important but not critical. Kotlin Multiplatform, on the other hand, compiles shared code to native code. Since Kotlin Multiplatform uses Kotlin, which is native to Android, and compiles seamlessly to native code for iOS, it has the advantage of being closer to the metal. This results in better performance, especially for apps that need to process data quickly or have complex UIs. Therefore, Kotlin is a good choice for high-performance apps, like games. Compatibility with Native APIs: Bridging the Gap React Native provides an easy way to access native APIs through JavaScript. However, it might not have built-in support for every API you need. In such cases, you will have to rely on third-party libraries or write custom native modules. This extra step can increase development complexity, especially if you're dealing with platform-specific features. React Native can handle most native APIs but may require more effort when using platform-specific features. Kotlin Multiplatform offers direct access to native APIs. You can write native code for both iOS and Android where needed. This makes it highly compatible with native device features without relying heavily on third-party libraries or custom modules. It also reduces the chances of compatibility issues since you're working with native code. If your app relies on complex features like camera controls or Bluetooth functionality, Kotlin Multiplatform allows for seamless integration with these APIs. Development Experience: Simplicity vs. Flexibility React Native offers a smoother and simpler setup process. Developers familiar with JavaScript can start building apps right away, making it a popular choice for web developers transitioning to mobile development. Its hot-reloading feature also allows for faster development cycles by letting you see changes in real-time. As a result, React Native is ideal for teams with a strong JavaScript background and those looking to get a product to market quickly. Kotlin Multiplatform provides more flexibility but requires familiarity with Kotlin. Therefore, Kotlin Multiplatform is better suited for experienced developers who want more control over performance and platform-specific code. The learning curve is steeper for developers who aren't used to native development, but it's rewarding for those who need greater control over their code. The ability to share business logic across platforms while maintaining separate native UI components allows more customization. Suitability for Different Types of Projects React Native is great for projects where speed and simplicity are top priorities. It’s widely used for apps where the user interface is relatively simple and consistent across platforms. React Native also has a large community and a wealth of third-party libraries, making it easier to find resources and support. React Native can be a good choice for e-commerce apps or social media apps, where time-to-market and a consistent experience across platforms are more important than maximum performance. Kotlin Multiplatform excels in projects where performance, security, and deep integration with native systems are crucial. It's particularly well-suited for projects where business logic is shared, but UI elements need to be customized for each platform. Kotlin Multiplatform is ideal for fintech or health apps that require a high degree of security, performance, and native features. Community and Ecosystem Support React Native has been around since 2015 and boasts a large, active community. There are many libraries and tools available to make development faster and easier. However, maintaining these third-party libraries can sometimes become an issue, as some libraries may not be updated as quickly as needed. Kotlin Multiplatform is newer but is backed by JetBrains and Google, making it a strong contender in the long run. Its community is growing, but it may not have as many pre-built libraries or resources as React Native yet. However, since Kotlin is the official language for Android, it's likely that support for Kotlin Multiplatform will continue to grow. Conclusion: Which Should You Choose? Choose React Native if:Your team has strong JavaScript experience.You need to get an app to market quickly.Performance is not the most critical factor.You prefer using pre-built libraries for common features.Choose Kotlin Multiplatform if:You want native performance and access to platform-specific APIs.Your project involves complex features or high-performance requirements.You prefer sharing business logic but building platform-specific UI.You want a future-proof solution backed by strong industry support. Both React Native and Kotlin Multiplatform are excellent tools, but your choice should depend on the specific needs of your project. Each framework brings unique benefits to the table, so it’s essential to align your decision with your development goals. SupremeTech provide high-skilled React developers for your project. Book a free consultation with us now!

          10/10/2024

          86

          Linh Le

          Software Development

          +0

            React Native vs. Kotlin Multiplatform: Which one is better?

            10/10/2024

            86

            Linh Le

            Our success stories

            +0

              SupremeTech and BiPlus co-organized an event for the Da Nang IT community

              Take a look back to exciting moments in the "Work Smarter, Not Harder with Jira" event for Da Nang’s tech community. Organized by BiPlus, Atlassian's strategic partner in Vietnam, in collaboration with SupremeTech, the event focused on leveraging technology to enhance project management and productivity. The event aimed to show how tools like Jira and artificial intelligence (AI) can help make work more accessible and efficient. By using these tools, businesses can save time and get better results. Beginning of a series of activities for the IT community BiPlus and SupremeTech, two prominent names in Vietnam's IT landscape, teamed up to host this event as part of a broader initiative to engage the local tech community.  Mr. Bui Xuan Hien, CEO of BiPlus, started the event with an inspiring welcome speech. His vision for creating a dynamic, fun, and connected space for the Da Nang IT community resonated with the audience. He emphasized that this event is just the beginning of a series of activities to bring together tech enthusiasts to explore smarter, more efficient ways to work. How Jira can be used to optimize workflows The event focused on how Jira, Atlassian’s popular project management tool, can optimize workflows, streamline communication, and boost team collaboration. With the added integration of AI, the future of work is becoming more intelligent, where smart tools reduce manual effort, freeing up time for more strategic tasks. One of the event's key highlights was the presence of Ms. Lexy, Partner Manager for Southeast Asia and Atlassian’s representative for the Asia-Pacific region. She shared valuable insights into Atlassian’s plans for the region, as well as helpful information on how companies can use their tools to work better. Her Q&A session was especially engaging, allowing attendees to ask specific questions about Jira, Atlassian's tools, and how these technologies can support businesses of various sizes. Expert insights on Jira and AI Integration The event featured a diverse lineup of speakers who shared their expertise on a range of highly relevant topics to today’s IT professionals.  Exploring the evolution of offshore development models This session was presented by Mr. Tien Huynh, Project Manager of SupremeTech, to explore how offshore development models have evolved in recent years. With the increasing need for global collaboration and remote work, he highlighted strategies for managing teams across different locations while maintaining high productivity and quality. He also touched on how Jira helps streamline these complex workflows, enabling teams to stay on track no matter where they are. Managing projects effectively with Jira: Best practice from SupremeTech Ms. Hang Duong, another Project Manager from SupremeTech, delved into the practical aspects of using Jira for project management. She shared real-life examples of how her teams have used Jira to break down complex projects into manageable tasks, ensuring clear communication, accountability, and timely delivery. Her presentation was packed with actionable tips for maximizing Jira’s capabilities, from setting up boards and workflows to tracking progress and handling bottlenecks. Using AI to boost project efficiency A particularly exciting session came from Mr. Truong Cong Phuc, Founder of Luviha Group, who discussed how AI transforms project management. From automating routine tasks to providing predictive analytics for decision-making, he demonstrated how AI can significantly reduce the time and effort spent on project management. He also showed how integrating AI with tools like Jira allows teams to focus on high-level strategy and creativity, leaving the mundane work to intelligent algorithms. Lively panel discussion overcomes challenges in IT project management Following these engaging talks, the event transitioned into a lively panel discussion, where all the speakers joined forces to address the audience’s questions. This interactive session allowed participants to voice their challenges, seek advice, and discuss potential solutions with the panel.  The discussion was moderated by Mr. Bui Xuan Hien, CEO of BiPlus, and Mr. Truong Dinh Hoang, Chairman of SupremeTech, who brought their vast experience to the table. The conversation covered various topics, including managing remote teams, overcoming obstacles in project execution, and the future of AI in IT project management. Keynote of “Work Smarter, Not Harder With Jira” event The event wasn’t just about talks and discussions but also a fantastic networking opportunity. Attendees had the chance to connect with like-minded professionals, share experiences, and explore potential collaborations. The atmosphere was lively and positively charged as participants exchanged ideas and insights on improving their work processes and making their teams more efficient. By the end of the "Work Smarter, Not Harder With Jira" event, it was clear that the Da Nang IT community had gained a wealth of knowledge and practical skills they could immediately implement in their personal and professional lives. Whether working on personal projects, leading a team, or managing a company, the insights from this event provided valuable takeaways for everyone involved. Stay tuned for our upcoming events For those who missed out, stay tuned! BiPlus and SupremeTech have more events planned, offering even more opportunities to dive deeper into innovative work management. As the tech landscape continues to evolve, events like these will play a crucial role in keeping professionals at the cutting edge, ready to tackle the challenges of tomorrow with confidence. The Da Nang IT community has just begun its journey toward smarter, more efficient work processes, and with the support of tools like Jira and the integration of AI, the future looks bright! >>> Explore another event: SupremeTech co-organized Vietnam IT Day 2024 in Sydney Contact us if you want to outsource in Vietnam! Let us know if you want to find a local partner who can build great teams that make great products! We have experience working with the world's most demanding nations and are ready to expand our client list.

              06/09/2024

              302

              Ngan Phan

              Our success stories

              +0

                SupremeTech and BiPlus co-organized an event for the Da Nang IT community

                06/09/2024

                302

                Ngan Phan

                Customize software background

                Want to customize a software for your business?

                Meet with us! Schedule a meeting with us!